public final class Base64Encoder
extends java.lang.Object
Constructor | Description |
---|---|
Base64Encoder() |
Construct a Base64Encoder.
|
Modifier and Type | Method | Description |
---|---|---|
static char[] |
encode(byte[] bytes) |
Encode given byte array into a encoded character array.
|
char[] |
getCharArray() |
Get Base64 encoded characters as an array.
|
void |
reset() |
Reset Base64Encoder to its initial state.
|
void |
translate(byte[] bytes) |
Translate all bytes of given array by appending each to octet buffer.
|
public static char[] encode(byte[] bytes)
bytes
- The byte array to be encoded.public void reset()
public void translate(byte[] bytes)
bytes
- The byte array to be encoded.public char[] getCharArray()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com