Class Base64
package: src.net.jxta.impl.util
public final class Base64
Deprecated:
Planned for removal. This implementation has been replaced by net.jxta.impl.util.Base64InputStream and net.jxta.impl.util.Base64OutputStream.
Constructor Summary
private
Method Summary
public static byte[]
decodeBase64(String text)
private static int
public static String
encodeBase64(byte[] bytes)
private static char
private static char
getBase64Char(StringReader r)
   '\0' represents end of file.
 
public static void
main(String args)
Constructor Detail
Base64
private Base64()
Method Detail
decodeBase64
public static byte[] decodeBase64(String text)
Throws:
IOException

decodeSixBits
private static int decodeSixBits(char c)

encodeBase64
public static String encodeBase64(byte[] bytes)

encodeSixBits
private static char encodeSixBits(int b)

getBase64Char
private static char getBase64Char(StringReader r)
'\0' represents end of file.
Throws:
IOException

main
public static void main(String args)