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[] |
mBuffer |
protected InputStream |
mIn |
protected int |
mLength |
protected int |
mPtr |
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 |
---|---|
void |
close() |
void |
freeBuffers() |
int |
read() |
int |
read(char[] cbuf,
int start,
int len) |
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 InputStream mIn
protected byte[] mBuffer
protected int mPtr
protected int mLength
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
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
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 © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.