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 void
close()
boolean
getCumulative()
char[]
getCumulativeBuffer()
int
getCumulativeBufferAbsoluteEnd()
int
getCumulativeBufferAbsoluteStart()
int
getCumulativeBufferEnd()
int
getCumulativeBufferStart()
int
read(char[] ch, int offset, int length)
void
setCumulative(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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in classjava.io.Reader
-
read
public int read(char[] ch, int offset, int length) throws java.io.IOException
- Specified by:
read
in classjava.io.Reader
- Throws:
java.io.IOException
-
-