| |
|
| java.lang.Object com.sun.xml.stream.BufferManager com.sun.xml.stream.FileBufferManager
FileBufferManager | public class FileBufferManager extends BufferManager (Code) | | author: Neeraj Bajaj, Sun Microsystems |
DEBUG | final static boolean DEBUG(Code) | | |
DEFAULT_LENGTH | final static int DEFAULT_LENGTH(Code) | | |
THRESH_HOLD | final static int THRESH_HOLD(Code) | | |
calledGetMore | boolean calledGetMore(Code) | | |
charBuffer | CharBuffer charBuffer(Code) | | |
decoder | CharsetDecoder decoder(Code) | | |
remaining | long remaining(Code) | | |
getCharBuffer | public CharBuffer getCharBuffer()(Code) | | |
getLength | int getLength()(Code) | | |
getMore | public boolean getMore() throws java.io.IOException(Code) | | This function returns true if some character data was loaded. Data is available via getCharBuffer().
If before calling this function CharBuffer had some data (i.e. remaining() > 0) then this function
first calls CharBuffer.compact() and then it is filled with more data.
See Also: CharBuffer.compact() true if some character data was loaded. False value can be assume to be end of currententity. |
getMoreBytes | public ByteBuffer getMoreBytes() throws java.io.IOException(Code) | | This function gets more data from the file. If there is no more data a ByteBuffer of capacity 'zero'
is returned. This function always returns a new ByteBuffer.
|
printByteBuffer | static void printByteBuffer(ByteBuffer bb)(Code) | | |
printCharBuffer | static void printCharBuffer(CharBuffer bb)(Code) | | |
resizeCharBuffer | CharBuffer resizeCharBuffer(int capacity)(Code) | | |
|
|
|