Class X2PullParser.CumulativeReader

java.lang.Object
java.io.Reader
org.gjt.xpp.x2impl.x2pullparser.X2PullParser.CumulativeReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable
Enclosing class:
X2PullParser

protected class X2PullParser.CumulativeReader extends Reader
  • Constructor Details

    • CumulativeReader

      public CumulativeReader(Reader reader)
      Constructs this reader from another reader.
  • Method Details

    • setCumulative

      public void setCumulative(boolean value)
    • getCumulative

      public boolean getCumulative()
    • getCumulativeBuffer

      public char[] getCumulativeBuffer()
    • getCumulativeBufferAbsoluteStart

      public int getCumulativeBufferAbsoluteStart()
    • getCumulativeBufferAbsoluteEnd

      public int getCumulativeBufferAbsoluteEnd()
    • getCumulativeBufferStart

      public int getCumulativeBufferStart()
    • getCumulativeBufferEnd

      public int getCumulativeBufferEnd()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class Reader
    • read

      public int read(char[] ch, int offset, int length) throws IOException
      Specified by:
      read in class Reader
      Throws:
      IOException