public final class BambooUTF8Reader extends Reader
| Modifier and Type | Field and Description |
|---|---|
protected static char |
CONVERT_LSEP_TO |
protected static char |
CONVERT_NEL_TO |
protected byte[] |
mByteBuffer |
protected int |
mByteBufferEnd |
protected int |
mBytePtr |
protected com.ctc.wstx.api.ReaderConfig |
mConfig |
protected static char |
NULL_BYTE |
protected static char |
NULL_CHAR |
| Constructor and Description |
|---|
BambooUTF8Reader(com.ctc.wstx.api.ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean recycleBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canModifyBuffer() |
void |
close() |
void |
freeBuffers() |
protected InputStream |
getStream() |
int |
read() |
int |
read(char[] cbuf,
int start,
int len) |
protected int |
readBytes() |
protected int |
readBytesAt(int arg0) |
protected void |
reportBounds(char[] arg0,
int arg1,
int arg2) |
protected void |
reportInvalidXml11(int arg0,
int arg1,
int arg2) |
protected void |
reportStrangeStream() |
void |
setXmlCompliancy(int xmlVersion) |
protected static final char NULL_CHAR
protected static final char NULL_BYTE
protected static final char CONVERT_NEL_TO
protected static final char CONVERT_LSEP_TO
protected final com.ctc.wstx.api.ReaderConfig mConfig
protected byte[] mByteBuffer
protected int mBytePtr
protected int mByteBufferEnd
public BambooUTF8Reader(com.ctc.wstx.api.ReaderConfig cfg,
InputStream in,
byte[] buf,
int ptr,
int len,
boolean recycleBuffer)
public void setXmlCompliancy(int xmlVersion)
public int read(char[] cbuf,
int start,
int len)
throws IOException
read in class ReaderIOExceptionprotected final boolean canModifyBuffer()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionpublic int read()
throws IOException
read in class ReaderIOExceptionprotected final InputStream getStream()
protected final int readBytes()
throws IOException
IOExceptionprotected final int readBytesAt(int arg0)
throws IOException
IOExceptionpublic final void freeBuffers()
protected void reportBounds(char[] arg0,
int arg1,
int arg2)
throws IOException
IOExceptionprotected void reportStrangeStream()
throws IOException
IOExceptionprotected void reportInvalidXml11(int arg0,
int arg1,
int arg2)
throws IOException
IOExceptionCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.