Package com.jcraft.jsch
Class Util
- java.lang.Object
-
- com.jcraft.jsch.Util
-
class Util extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static booleanarray_equals(byte[] foo, byte[] bar)(package private) static java.lang.Stringbyte2str(byte[] str)(package private) static java.lang.Stringbyte2str(byte[] str, int s, int l)(package private) static java.lang.Stringbyte2str(byte[] str, int s, int l, java.lang.String encoding)(package private) static java.lang.Stringbyte2str(byte[] str, java.lang.String encoding)(package private) static voidbzero(byte[] foo)(package private) static java.lang.StringcheckTilde(java.lang.String str)(package private) static java.net.SocketcreateSocket(java.lang.String host, int port, int timeout)(package private) static java.lang.StringdiffString(java.lang.String str, java.lang.String[] not_available)(package private) static byte[]fromBase64(byte[] buf, int start, int length)(package private) static byte[]fromFile(java.lang.String _file)(package private) static java.lang.StringgetFingerPrint(HASH hash, byte[] data)(package private) static booleanglob(byte[] pattern, byte[] name)private static booleanglob(byte[] pattern, int pattern_index, byte[] name, int name_index)private static booleanglob0(byte[] pattern, int pattern_index, byte[] name, int name_index)(package private) static java.lang.Stringquote(java.lang.String path)private static intskipUTF8Char(byte b)(package private) static java.lang.String[]split(java.lang.String foo, java.lang.String split)(package private) static byte[]str2byte(java.lang.String str)(package private) static byte[]str2byte(java.lang.String str, java.lang.String encoding)(package private) static byte[]toBase64(byte[] buf, int start, int length)(package private) static java.lang.StringtoHex(byte[] str)(package private) static byte[]unquote(byte[] path)(package private) static java.lang.Stringunquote(java.lang.String path)private static byteval(byte foo)
-
-
-
Method Detail
-
val
private static byte val(byte foo)
-
fromBase64
static byte[] fromBase64(byte[] buf, int start, int length) throws JSchException- Throws:
JSchException
-
toBase64
static byte[] toBase64(byte[] buf, int start, int length)
-
split
static java.lang.String[] split(java.lang.String foo, java.lang.String split)
-
glob
static boolean glob(byte[] pattern, byte[] name)
-
glob0
private static boolean glob0(byte[] pattern, int pattern_index, byte[] name, int name_index)
-
glob
private static boolean glob(byte[] pattern, int pattern_index, byte[] name, int name_index)
-
quote
static java.lang.String quote(java.lang.String path)
-
unquote
static java.lang.String unquote(java.lang.String path)
-
unquote
static byte[] unquote(byte[] path)
-
getFingerPrint
static java.lang.String getFingerPrint(HASH hash, byte[] data)
-
array_equals
static boolean array_equals(byte[] foo, byte[] bar)
-
createSocket
static java.net.Socket createSocket(java.lang.String host, int port, int timeout) throws JSchException- Throws:
JSchException
-
str2byte
static byte[] str2byte(java.lang.String str, java.lang.String encoding)
-
str2byte
static byte[] str2byte(java.lang.String str)
-
byte2str
static java.lang.String byte2str(byte[] str, java.lang.String encoding)
-
byte2str
static java.lang.String byte2str(byte[] str, int s, int l, java.lang.String encoding)
-
byte2str
static java.lang.String byte2str(byte[] str)
-
byte2str
static java.lang.String byte2str(byte[] str, int s, int l)
-
toHex
static java.lang.String toHex(byte[] str)
-
bzero
static void bzero(byte[] foo)
-
diffString
static java.lang.String diffString(java.lang.String str, java.lang.String[] not_available)
-
checkTilde
static java.lang.String checkTilde(java.lang.String str)
-
skipUTF8Char
private static int skipUTF8Char(byte b)
-
fromFile
static byte[] fromFile(java.lang.String _file) throws java.io.IOException- Throws:
java.io.IOException
-
-