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

Constructor Index

 o Base64Decoder()

Method Index

 o main(String[])
Tests the decoder.
 o processString(String)
Decodes a String.

Constructors

 o Base64Decoder
 public Base64Decoder()

Methods

 o 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.
 o 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