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 Reader
IOException
protected final boolean canModifyBuffer()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
public int read() throws IOException
read
in class Reader
IOException
protected final InputStream getStream()
protected final int readBytes() throws IOException
IOException
protected final int readBytesAt(int arg0) throws IOException
IOException
public final void freeBuffers()
protected void reportBounds(char[] arg0, int arg1, int arg2) throws IOException
IOException
protected void reportStrangeStream() throws IOException
IOException
protected void reportInvalidXml11(int arg0, int arg1, int arg2) throws IOException
IOException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.