Static Package Functions | |
| static byte[] | fromBase64 (byte[] buf, int start, int length) |
| static byte[] | toBase64 (byte[] buf, int start, int length) |
| static String[] | split (String foo, String split) |
| static boolean | glob (byte[] pattern, byte[] name) |
| static String | quote (String path) |
| static String | unquote (String path) |
| static byte[] | unquote (byte[] path) |
| static String | getFingerPrint (HASH hash, byte[] data) |
| Creates an hexadecimal fingerprint of some data. | |
| static boolean | array_equals (byte[] foo, byte bar[]) |
| static Socket | createSocket (String host, int port, int timeout) throws JSchException |
| static byte[] | str2byte (String str, String encoding) |
| static byte[] | str2byte (String str) |
| static String | byte2str (byte[] str, String encoding) |
| static String | byte2str (byte[] str, int s, int l, String encoding) |
| static String | byte2str (byte[] str) |
| static String | byte2str (byte[] str, int s, int l) |
| static void | bzero (byte[] foo) |
| static String | diffString (String str, String[] not_available) |
Static Package Attributes | |
| static final byte[] | empty = str2byte("") |
Static Private Member Functions | |
| static byte | val (byte foo) |
| static boolean | glob0 (byte[] pattern, int pattern_index, byte[] name, int name_index) |
| static boolean | glob (byte[] pattern, int pattern_index, byte[] name, int name_index) |
| static int | skipUTF8Char (byte b) |
Static Private Attributes | |
| static final byte[] | b64 = Util.str2byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=") |
| static String[] | chars |
| hexadecimal digits | |
Definition at line 33 of file Util.java.
| static boolean com.jcraft.jsch.Util.array_equals | ( | byte[] | foo, | |
| byte | bar[] | |||
| ) | [static, package] |
| static String com.jcraft.jsch.Util.byte2str | ( | byte[] | str, | |
| int | s, | |||
| int | l | |||
| ) | [static, package] |
Definition at line 427 of file Util.java.
References com.jcraft.jsch.Util.byte2str().
| static String com.jcraft.jsch.Util.byte2str | ( | byte[] | str | ) | [static, package] |
Definition at line 423 of file Util.java.
References com.jcraft.jsch.Util.byte2str().
| static String com.jcraft.jsch.Util.byte2str | ( | byte[] | str, | |
| int | s, | |||
| int | l, | |||
| String | encoding | |||
| ) | [static, package] |
| static String com.jcraft.jsch.Util.byte2str | ( | byte[] | str, | |
| String | encoding | |||
| ) | [static, package] |
Definition at line 412 of file Util.java.
Referenced by com.jcraft.jsch.Util.byte2str(), com.jcraft.jsch.Util.quote(), and com.jcraft.jsch.Util.unquote().
| static void com.jcraft.jsch.Util.bzero | ( | byte[] | foo | ) | [static, package] |
| static Socket com.jcraft.jsch.Util.createSocket | ( | String | host, | |
| int | port, | |||
| int | timeout | |||
| ) | throws JSchException [static, package] |
| static String com.jcraft.jsch.Util.diffString | ( | String | str, | |
| String[] | not_available | |||
| ) | [static, package] |
| static byte [] com.jcraft.jsch.Util.fromBase64 | ( | byte[] | buf, | |
| int | start, | |||
| int | length | |||
| ) | [static, package] |
Definition at line 43 of file Util.java.
References com.jcraft.jsch.Util.val().
| static String com.jcraft.jsch.Util.getFingerPrint | ( | HASH | hash, | |
| byte[] | data | |||
| ) | [static, package] |
Creates an hexadecimal fingerprint of some data.
| hash | the hash algorithm to use. | |
| data | the data to fingerprint. |
Definition at line 312 of file Util.java.
References com.jcraft.jsch.Util.chars, and com.jcraft.jsch.HASH.init().
| static boolean com.jcraft.jsch.Util.glob | ( | byte[] | pattern, | |
| int | pattern_index, | |||
| byte[] | name, | |||
| int | name_index | |||
| ) | [static, private] |
Definition at line 138 of file Util.java.
References com.jcraft.jsch.Util.glob(), and com.jcraft.jsch.Util.skipUTF8Char().
| static boolean com.jcraft.jsch.Util.glob | ( | byte[] | pattern, | |
| byte[] | name | |||
| ) | [static, package] |
Definition at line 124 of file Util.java.
References com.jcraft.jsch.Util.glob0().
Referenced by com.jcraft.jsch.Util.glob(), and com.jcraft.jsch.Util.glob0().
| static boolean com.jcraft.jsch.Util.glob0 | ( | byte[] | pattern, | |
| int | pattern_index, | |||
| byte[] | name, | |||
| int | name_index | |||
| ) | [static, private] |
Definition at line 127 of file Util.java.
References com.jcraft.jsch.Util.glob().
Referenced by com.jcraft.jsch.Util.glob().
| static String com.jcraft.jsch.Util.quote | ( | String | path | ) | [static, package] |
Definition at line 252 of file Util.java.
References com.jcraft.jsch.Util.byte2str(), and com.jcraft.jsch.Util.str2byte().
| static int com.jcraft.jsch.Util.skipUTF8Char | ( | byte | b | ) | [static, private] |
Definition at line 476 of file Util.java.
Referenced by com.jcraft.jsch.Util.glob().
| static String [] com.jcraft.jsch.Util.split | ( | String | foo, | |
| String | split | |||
| ) | [static, package] |
| static byte [] com.jcraft.jsch.Util.str2byte | ( | String | str | ) | [static, package] |
Definition at line 408 of file Util.java.
References com.jcraft.jsch.Util.str2byte().
| static byte [] com.jcraft.jsch.Util.str2byte | ( | String | str, | |
| String | encoding | |||
| ) | [static, package] |
Definition at line 399 of file Util.java.
Referenced by com.jcraft.jsch.Util.quote(), com.jcraft.jsch.Util.str2byte(), and com.jcraft.jsch.Util.unquote().
| static byte [] com.jcraft.jsch.Util.toBase64 | ( | byte[] | buf, | |
| int | start, | |||
| int | length | |||
| ) | [static, package] |
Definition at line 58 of file Util.java.
References com.jcraft.jsch.Util.b64.
| static byte [] com.jcraft.jsch.Util.unquote | ( | byte[] | path | ) | [static, package] |
| static String com.jcraft.jsch.Util.unquote | ( | String | path | ) | [static, package] |
Definition at line 273 of file Util.java.
References com.jcraft.jsch.Util.byte2str(), and com.jcraft.jsch.Util.str2byte().
| static byte com.jcraft.jsch.Util.val | ( | byte | foo | ) | [static, private] |
Definition at line 36 of file Util.java.
References com.jcraft.jsch.Util.b64.
Referenced by com.jcraft.jsch.Util.fromBase64().
final byte [] com.jcraft.jsch.Util.b64 = Util.str2byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=") [static, private] |
Definition at line 35 of file Util.java.
Referenced by com.jcraft.jsch.Util.toBase64(), and com.jcraft.jsch.Util.val().
String [] com.jcraft.jsch.Util.chars [static, private] |
{
"0","1","2","3","4","5","6","7","8","9", "a","b","c","d","e","f"
}
hexadecimal digits
Definition at line 302 of file Util.java.
Referenced by com.jcraft.jsch.Util.getFingerPrint().
final byte [] com.jcraft.jsch.Util.empty = str2byte("") [static, package] |
1.6.1