org.aselect.system.utils
Class BASE64Decoder

java.lang.Object
  extended by org.aselect.system.utils.BASE64Decoder

public class BASE64Decoder
extends java.lang.Object

RFC 2045 compliant Base64 decoder.

Description:
Decodes a Base64 String. Callers should instantiate this class to decode a Base64 encoded String.

Concurrency issues:
None.

Author:
Alfa & Ariss

Constructor Summary
BASE64Decoder()
           
 
Method Summary
 byte[] decodeBuffer(java.lang.String xEncodedString)
          Decodes a Base64 input String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BASE64Decoder

public BASE64Decoder()
Method Detail

decodeBuffer

public byte[] decodeBuffer(java.lang.String xEncodedString)
Decodes a Base64 input String.

Description:
This method uses the Base64 Codec to decode the input String.

Concurrency issues:
None.

Preconditions:
None.

Postconditions:
None.

Parameters:
xEncodedString - Base64 encoded String.
Returns:
byte array containing the decoded input string.


Copyright © 2008 SURFnet BV. All Rights Reserved.