net.sf.xbus.base.bytearraylist
Class ByteArrayConverterAS400

java.lang.Object
  extended by net.sf.xbus.base.bytearraylist.ByteArrayConverterAS400
All Implemented Interfaces:
ByteArrayConverter

public class ByteArrayConverterAS400
extends java.lang.Object
implements ByteArrayConverter

Author:
Fleckenstein To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
ByteArrayConverterAS400(java.lang.String system)
           
 
Method Summary
 java.lang.String byteArrayToString(byte[] array)
           
 byte[] stringToByteArray(java.lang.String string)
           
 byte[] stringToByteArray(java.lang.String string, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayConverterAS400

public ByteArrayConverterAS400(java.lang.String system)
                        throws XException
Throws:
XException
Method Detail

byteArrayToString

public java.lang.String byteArrayToString(byte[] array)
Specified by:
byteArrayToString in interface ByteArrayConverter
See Also:
ByteArrayConverter.byteArrayToString(byte[])

stringToByteArray

public byte[] stringToByteArray(java.lang.String string,
                                int length)
Specified by:
stringToByteArray in interface ByteArrayConverter

stringToByteArray

public byte[] stringToByteArray(java.lang.String string)
Specified by:
stringToByteArray in interface ByteArrayConverter