public class UtilTrim
extends java.lang.Object
| Constructor and Description | 
|---|
| UtilTrim() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | array_equals(byte[] foo,
            byte[] bar) | 
| static java.lang.String | byte2str(byte[] str) | 
| static java.lang.String | byte2str(byte[] str,
        int s,
        int l) | 
| static java.lang.String | byte2str(byte[] str,
        int s,
        int l,
        java.lang.String encoding) | 
| static java.lang.String | byte2str(byte[] str,
        java.lang.String encoding) | 
| static void | bzero(byte[] foo) | 
| static byte[] | fromBase64(byte[] buf,
          int start,
          int length) | 
| static byte[] | fromFile(java.io.File file) | 
| static byte[] | fromFile(java.lang.String _file) | 
| static byte[] | fromStream(java.io.InputStream in,
          long length) | 
| static java.lang.String | getFingerPrint(com.jcraft.jsch.HASH hash,
              byte[] data) | 
| static byte[] | str2byte(java.lang.String str) | 
| static byte[] | str2byte(java.lang.String str,
        java.lang.String encoding) | 
| static byte[] | toBase64(byte[] buf,
        int start,
        int length) | 
public static byte[] fromBase64(byte[] buf,
                                int start,
                                int length)
public static byte[] toBase64(byte[] buf,
                              int start,
                              int length)
public static java.lang.String getFingerPrint(com.jcraft.jsch.HASH hash,
                                              byte[] data)
public static byte[] str2byte(java.lang.String str,
                              java.lang.String encoding)
public static byte[] str2byte(java.lang.String str)
public static java.lang.String byte2str(byte[] str,
                                        java.lang.String encoding)
public static java.lang.String byte2str(byte[] str,
                                        int s,
                                        int l,
                                        java.lang.String encoding)
public static java.lang.String byte2str(byte[] str)
public static java.lang.String byte2str(byte[] str,
                                        int s,
                                        int l)
public static void bzero(byte[] foo)
public static byte[] fromStream(java.io.InputStream in,
                                long length)
                         throws java.io.IOException
java.io.IOExceptionpublic static byte[] fromFile(java.io.File file)
                       throws java.io.IOException
java.io.IOExceptionpublic static byte[] fromFile(java.lang.String _file)
                       throws java.io.IOException
java.io.IOExceptionpublic static boolean array_equals(byte[] foo,
                                   byte[] bar)