Class XmlReader.BaseReader

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable
    Enclosing class:
    XmlReader

    public abstract static class XmlReader.BaseReader
    extends java.io.Reader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] buffer  
      protected int finish  
      protected java.io.InputStream instream  
      protected int start  
      • Fields inherited from class java.io.Reader

        lock
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      abstract java.lang.String getEncoding()  
      boolean ready()  
      • Methods inherited from class java.io.Reader

        mark, markSupported, nullReader, read, read, read, read, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • instream

        protected java.io.InputStream instream
      • buffer

        protected byte[] buffer
      • start

        protected int start
      • finish

        protected int finish
    • Method Detail

      • getEncoding

        public abstract java.lang.String getEncoding()
      • ready

        public boolean ready()
                      throws java.io.IOException
        Overrides:
        ready in class java.io.Reader
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in class java.io.Reader
        Throws:
        java.io.IOException