Class EbcdicInterpreter
java.lang.Object
org.jpos.iso.EbcdicInterpreter
- All Implemented Interfaces:
Interpreter
Implements EBCDIC Interpreter. Strings are converted to and from EBCDIC
bytes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPackedLength(int nDataUnits) (non-Javadoc)void(non-Javadoc)uninterpret(byte[] rawData, int offset, int length) (non-Javadoc)
-
Field Details
-
INSTANCE
An instance of this Interpreter. Only one needed for the whole system
-
-
Constructor Details
-
EbcdicInterpreter
public EbcdicInterpreter()
-
-
Method Details
-
interpret
(non-Javadoc)- Specified by:
interpretin interfaceInterpreter
-
uninterpret
(non-Javadoc)- Specified by:
uninterpretin interfaceInterpreter- Parameters:
rawData- The interpreted data.offset- The index in rawData to start interpreting at.length- The number of data units to interpret.- Returns:
- The uninterpreted data.
-
getPackedLength
(non-Javadoc)- Specified by:
getPackedLengthin interfaceInterpreter
-