public class EbcdicInterpreter extends java.lang.Object implements Interpreter
Modifier and Type | Field and Description |
---|---|
static EbcdicInterpreter |
INSTANCE
An instance of this Interpreter.
|
Constructor and Description |
---|
EbcdicInterpreter() |
Modifier and Type | Method and Description |
---|---|
int |
getPackedLength(int nDataUnits)
(non-Javadoc)
|
void |
interpret(java.lang.String data,
byte[] b,
int offset)
(non-Javadoc)
|
java.lang.String |
uninterpret(byte[] rawData,
int offset,
int length)
(non-Javadoc)
|
public static final EbcdicInterpreter INSTANCE
public void interpret(java.lang.String data, byte[] b, int offset)
interpret
in interface Interpreter
public java.lang.String uninterpret(byte[] rawData, int offset, int length)
uninterpret
in interface Interpreter
rawData
- The interpreted data.offset
- The index in rawData to start interpreting at.length
- The number of data units to interpret.public int getPackedLength(int nDataUnits)
getPackedLength
in interface Interpreter