|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectguarana.toolkit.task.streamdealers.codecs.Base64Codec
public class Base64Codec
A Base64 codec implementation.
Constructor Summary | |
---|---|
Base64Codec()
Constructs a new Base64 codec. |
Method Summary | |
---|---|
byte[] |
decode(byte[] data)
Decodes a byte[] containing characters in the Base64 alphabet. |
byte[] |
encode(byte[] data)
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64Codec()
Method Detail |
---|
public byte[] decode(byte[] data) throws CodecException
decode
in interface ICodec
data
- A byte array containing Base64 character data.
CodecException
- if this method cannot encode the data.ICodec.decode(byte[])
public byte[] encode(byte[] data) throws CodecException
encode
in interface ICodec
data
- A byte array containing binary data.
CodecException
- if this method cannot encode the data.ICodec.encode(byte[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |