All Packages Class Hierarchy This Package Previous Next Index
Class com.ups.xmlsdk.util.Base64
java.lang.Object
|
+----com.ups.xmlsdk.util.Base64
- public class Base64
- extends Object
- implements Serializable
-
Base64()
- This method decodes the given string using the base64-encoding
specified in RFC-2045 (Section 6.8).
-
base64Decode(byte[])
- This method decodes the given byte[] using the base64-encoding
specified in RFC-2045 (Section 6.8).
-
base64Decode(String)
- This method decodes the given string using the base64-encoding
specified in RFC-2045 (Section 6.8).
-
base64Encode(byte[])
- This method encodes the given byte[] using the base64-encoding
specified in RFC-2045 (Section 6.8).
-
base64Encode(String)
- This method encodes the given string using the base64-encoding
specified in RFC-2045 (Section 6.8).
Base64
public Base64()
- This method decodes the given string using the base64-encoding
specified in RFC-2045 (Section 6.8).
- Parameters:
- java.lang.String - base64-encoded string.
base64Decode
public static final byte[] base64Decode(byte data[])
- This method decodes the given byte[] using the base64-encoding
specified in RFC-2045 (Section 6.8).
- Parameters:
- data - the base64-encoded data.
- Returns:
- the decoded data.
base64Decode
public static final String base64Decode(String str)
- This method decodes the given string using the base64-encoding
specified in RFC-2045 (Section 6.8).
- Parameters:
- str - the base64-encoded string.
- Returns:
- the decoded str.
base64Encode
public static final byte[] base64Encode(byte data[])
- This method encodes the given byte[] using the base64-encoding
specified in RFC-2045 (Section 6.8).
- Parameters:
- data - the data
- Returns:
- the base64-encoded data
base64Encode
public static final String base64Encode(String str)
- This method encodes the given string using the base64-encoding
specified in RFC-2045 (Section 6.8).
- Parameters:
- str - the string
- Returns:
- the base64-encoded str
All Packages Class Hierarchy This Package Previous Next Index