The IBM® Toolbox for Java™ BidiTransform class provides layout transformations that enable you to convert bidirectional text in IBM i format (after first converting it to Unicode) to bidirectional text in Java format, or from Java format to IBM i format.
The AS400BidiTransform class allows you to:
The following example shows how you can use the AS400BidiTransform class to transform bidirectional text:
// Java data to system layout:
AS400BidiTransform abt;
abt = new AS400BidiTransform(424);
String dst = abt.toAS400Layout("some bidirectional string");