All Packages Class Hierarchy This Package Previous Next Index
Class fr.inria.openmath.omapi.implementation.Base64Decoder
java.lang.Object
|
+----fr.inria.openmath.omapi.implementation.Base64Decoder
- public class Base64Decoder
- extends Object
Decodes a BASE64 encoded input stream to some output stream.
This class implements BASE64 decoding, as specified in the
MIME specification.
This code is strongly inspired from that of the W3C jigsaw.
- See Also:
- Base64Encoder
-
Base64Decoder()
-
-
main(String[])
- Tests the decoder.
-
processString(String)
- Decodes a String.
Base64Decoder
public Base64Decoder()
processString
public String processString(String input) throws Base64FormatException
- Decodes a String.
Does the decoding, and returns a String.
- Throws: Base64FormatException
- If the input string is not compliant
with the BASE64 specification.
main
public static void main(String args[])
- Tests the decoder.
Runs it with one argument: the string to be decoded, it will print out
the decoded value.
All Packages Class Hierarchy This Package Previous Next Index