|
jPOS 1.6.7 API Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpos.iso.AsciiInterpreter
public class AsciiInterpreter
Implements ASCII Interpreter. Strings are converted to and from ASCII bytes. This uses the US-ASCII encoding which all JVMs must support.
| Field Summary | |
|---|---|
static AsciiInterpreter |
INSTANCE
An instance of this Interpreter. |
| Constructor Summary | |
|---|---|
AsciiInterpreter()
|
|
| Method Summary | |
|---|---|
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) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AsciiInterpreter INSTANCE
| Constructor Detail |
|---|
public AsciiInterpreter()
| Method Detail |
|---|
public void interpret(java.lang.String data,
byte[] b,
int offset)
interpret in interface Interpreterdata - The data to be interpreted.org.jpos.iso.Interpreter#interpret(java.lang.String)
public java.lang.String uninterpret(byte[] rawData,
int offset,
int length)
uninterpret in interface InterpreterrawData - The interpreted data.offset - The index in rawData to start interpreting at.length - The number of data units to interpret.
org.jpos.iso.Interpreter#uninterpret(byte[])public int getPackedLength(int nDataUnits)
getPackedLength in interface InterpreterInterpreter.getPackedLength(int)
|
jPOS.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||