DLESE Tools
v1.6.0

org.dlese.dpc.ndr.toolkit
Class ContentUtils

java.lang.Object
  extended by org.dlese.dpc.ndr.toolkit.ContentUtils

public class ContentUtils
extends Object


Constructor Summary
ContentUtils()
           
 
Method Summary
static byte[] decodeString(String in)
           
static String encodeToString(byte[] in)
           
static String encodeToString(byte[] in, int width)
           
static byte[] readBinaryFile(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentUtils

public ContentUtils()
Method Detail

encodeToString

public static String encodeToString(byte[] in)
                             throws Exception
Throws:
Exception

encodeToString

public static String encodeToString(byte[] in,
                                    int width)
                             throws Exception
Throws:
Exception

decodeString

public static byte[] decodeString(String in)

readBinaryFile

public static byte[] readBinaryFile(File file)
                             throws Exception
Throws:
Exception

DLESE Tools
v1.6.0