net.sf.xbus.base.bytearraylist
Class ByteArrayConverterFile

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

public class ByteArrayConverterFile
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
ByteArrayConverterFile(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

ByteArrayConverterFile

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

byteArrayToString

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

stringToByteArray

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

stringToByteArray

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