Package com.sshtools.j2ssh.util
Class Base64
java.lang.Object
com.sshtools.j2ssh.util.Base64
- Version:
- $Revision: 1.15 $
- Author:
- $author$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
decode
(byte[] source, int off, int len) static byte[]
static Object
decodeToObject
(String encodedObject) static String
static String
encodeBytes
(byte[] source, boolean ignoreMaxLineLength) static String
encodeBytes
(byte[] source, int off, int len, boolean ignoreMaxLineLength) static String
encodeObject
(Serializable serializableObject) static String
encodeString
(String s, boolean ignoreMaxLineLength) static void
-
Field Details
-
ENCODE
public static final boolean ENCODE- See Also:
-
DECODE
public static final boolean DECODE- See Also:
-
-
Method Details
-
decode
- Parameters:
s
-- Returns:
-
decode
public static byte[] decode(byte[] source, int off, int len) -
decodeToObject
-
decodeToString
-
encodeBytes
-
encodeBytes
-
encodeObject
-
encodeString
-
main
-