Page History
Several classes have been developed to allow handling of IBM i data types.
DataType
All DataType classes implement the DataType interface.
...
public int getType ()...
public int getByteLength ()
...
public byte[] toByteArray ( Object data )
...
public String toString ( byte[] byteArray )
6.3.5.1 DataTypeText
This class allows a Java data type to be converted to an alphanumeric byte array.
6.3.5.2 DataTypePacked
This class allows a Java data type to be converted to a packed decimal byte array.
6.3.5.3 DataTypeZoned
This class allows a Java data type to be converted to a zoned decimal byte array.