| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
decodingTable |
protected byte[] |
encodingTable |
| Constructor and Description |
|---|
XTextEncoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] data,
int off,
int length,
OutputStream out)
decode the xtext encoded byte data writing it to the given output stream
|
int |
decode(String data,
OutputStream out)
decode the xtext encoded String data writing it to the given output stream.
|
int |
encode(byte[] data,
int off,
int length,
OutputStream out)
encode the input data producing an XText output stream.
|
protected void |
initialiseDecodingTable() |
protected final byte[] encodingTable
protected final byte[] decodingTable
protected void initialiseDecodingTable()
public int encode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
encode in interface EncoderIOExceptionpublic int decode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
decode in interface EncoderIOExceptionpublic int decode(String data, OutputStream out) throws IOException
decode in interface EncoderIOExceptionCopyright © 2013. All Rights Reserved.