public final class Base64Decoder
extends java.lang.Object
Constructor | Description |
---|---|
Base64Decoder() |
Construct a default Base64Decoder waiting on calls to its translate()
method.
|
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
decode(java.lang.String str) |
Decode given string into a decoded byte array.
|
byte[] |
getByteArray() |
Get all decoded octets as byte array.
|
void |
translate(java.lang.String string) |
Translate every base64 character from given string into a sextet byte value
by using above translation array.
|
public Base64Decoder()
public static byte[] decode(java.lang.String str)
str
- Base64 String to be decoded.public void translate(java.lang.String string)
string
- Base64 String to be decoded.public byte[] getByteArray()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com