Class LiteralInterpreter
java.lang.Object
org.jpos.iso.LiteralInterpreter
- All Implemented Interfaces:
Interpreter
Implements a Literal Interpreter. No conversion is done.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LiteralInterpreterAn instance of this Interpreter. -
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
-
LiteralInterpreter
public LiteralInterpreter()
-
-
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
-