Package com.jcraft.jsch
Class Util
java.lang.Object
com.jcraft.jsch.Util
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
array_equals
(byte[] foo, byte[] bar) (package private) static String
byte2str
(byte[] str) (package private) static String
byte2str
(byte[] str, int s, int l) (package private) static String
(package private) static String
(package private) static void
bzero
(byte[] foo) (package private) static String
checkTilde
(String str) (package private) static Socket
createSocket
(String host, int port, int timeout) (package private) static String
diffString
(String str, String[] not_available) (package private) static byte[]
fromBase64
(byte[] buf, int start, int length) (package private) static byte[]
(package private) static String
getFingerPrint
(HASH hash, byte[] data) (package private) static boolean
glob
(byte[] pattern, byte[] name) private static boolean
glob
(byte[] pattern, int pattern_index, byte[] name, int name_index) private static boolean
glob0
(byte[] pattern, int pattern_index, byte[] name, int name_index) (package private) static String
private static int
skipUTF8Char
(byte b) (package private) static String[]
(package private) static byte[]
(package private) static byte[]
(package private) static byte[]
toBase64
(byte[] buf, int start, int length) (package private) static String
toHex
(byte[] str) (package private) static byte[]
unquote
(byte[] path) (package private) static String
private static byte
val
(byte foo)
-
Field Details
-
b64
private static final byte[] b64 -
chars
-
empty
static final byte[] empty
-
-
Constructor Details
-
Util
Util()
-
-
Method Details
-
val
private static byte val(byte foo) -
fromBase64
- Throws:
JSchException
-
toBase64
static byte[] toBase64(byte[] buf, int start, int length) -
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
-
unquote
-
unquote
static byte[] unquote(byte[] path) -
getFingerPrint
-
array_equals
static boolean array_equals(byte[] foo, byte[] bar) -
createSocket
- Throws:
JSchException
-
str2byte
-
str2byte
-
byte2str
-
byte2str
-
byte2str
-
byte2str
-
toHex
-
bzero
static void bzero(byte[] foo) -
diffString
-
checkTilde
-
skipUTF8Char
private static int skipUTF8Char(byte b) -
fromFile
- Throws:
IOException
-