|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.util.Base64Decoder
Base 64 text to byte decoder. To produce the binary array from
base 64 encoding call translate(java.lang.CharSequence)
for each sequence of
characters and getByteArray()
to mark closure of the
character stream and retrieve the binary contents.
Constructor Summary | |
Base64Decoder()
|
Method Summary | |
byte[] |
getByteArray()
|
void |
translate(java.lang.CharSequence str)
Decode the base 64 string into a byte array (which can subsequently be accessed using getByteArray() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Base64Decoder()
Method Detail |
public final void translate(java.lang.CharSequence str) throws java.lang.IllegalArgumentException
str
- the base 64 string
java.lang.IllegalArgumentException
- if the base64 string is incorrectly formattedpublic byte[] getByteArray()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |