| java.lang.Object com.sun.kvem.midp.pim.formats.Base64Encoding
Base64Encoding | public class Base64Encoding (Code) | | Converter to and from Base64 encoding. Base64 encoding is defined in
RFC 2045.
|
Method Summary | |
public static byte[] | fromBase64(String sdata) Converts a BASE64 string to a byte array. | public static String | toBase64(byte[] data, int lineLength, int indent) Converts a byte array to a BASE64 string. |
fromBase64 | public static byte[] fromBase64(String sdata)(Code) | | Converts a BASE64 string to a byte array.
Parameters: sdata - the string to be converted the byte array content of the string |
toBase64 | public static String toBase64(byte[] data, int lineLength, int indent)(Code) | | Converts a byte array to a BASE64 string.
Parameters: data - the binary data to be converted Parameters: lineLength - the length of lines to be created Parameters: indent - the number of blank spaces to write at the beginningof each line BASE64 string |
|
|