public class ContentUtils
extends java.lang.Object
Constructor and Description |
---|
ContentUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decodeString(java.lang.String in) |
static java.lang.String |
encodeToString(byte[] in) |
static java.lang.String |
encodeToString(byte[] in,
int width) |
static byte[] |
readBinaryFile(java.io.File file) |
public static java.lang.String encodeToString(byte[] in) throws java.lang.Exception
java.lang.Exception
public static java.lang.String encodeToString(byte[] in, int width) throws java.lang.Exception
java.lang.Exception
public static byte[] decodeString(java.lang.String in)
public static byte[] readBinaryFile(java.io.File file) throws java.lang.Exception
java.lang.Exception