Package org.gjt.xpp.x2impl.x2pullparser
Class X2PullParser.CumulativeReader
- java.lang.Object
-
- java.io.Reader
-
- org.gjt.xpp.x2impl.x2pullparser.X2PullParser.CumulativeReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
- Enclosing class:
- X2PullParser
protected class X2PullParser.CumulativeReader extends java.io.Reader
-
-
Constructor Summary
Constructors Constructor Description CumulativeReader(java.io.Reader reader)Constructs this reader from another reader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleangetCumulative()char[]getCumulativeBuffer()intgetCumulativeBufferAbsoluteEnd()intgetCumulativeBufferAbsoluteStart()intgetCumulativeBufferEnd()intgetCumulativeBufferStart()intread(char[] ch, int offset, int length)voidsetCumulative(boolean value)
-
-
-
Method Detail
-
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:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Reader
-
read
public int read(char[] ch, int offset, int length) throws java.io.IOException- Specified by:
readin classjava.io.Reader- Throws:
java.io.IOException
-
-