org.oclc.da.gdfr.registryprototype
Class Base64Helper

java.lang.Object
  extended by org.oclc.da.gdfr.registryprototype.Base64Helper

public class Base64Helper
extends java.lang.Object


Constructor Summary
Base64Helper()
           
 
Method Summary
 java.lang.String decodeBytes(java.lang.String bytes)
          Uses the Base64 Class to decode a string of base64 bytes
 java.lang.String encodeBytes(byte[] bytes)
           
 java.lang.String encodeBytes(java.lang.String bytes)
          Uses the Base64 Class to encode a String in Base64 encoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64Helper

public Base64Helper()
Method Detail

decodeBytes

public java.lang.String decodeBytes(java.lang.String bytes)
Uses the Base64 Class to decode a string of base64 bytes

Parameters:
bytes - The String to decode
Returns:
String decoded
Throws:
RegistryException

encodeBytes

public java.lang.String encodeBytes(java.lang.String bytes)
Uses the Base64 Class to encode a String in Base64 encoding

Parameters:
bytes - The String to encode
Returns:
String Base64 encoded
Throws:
RegistryException

encodeBytes

public java.lang.String encodeBytes(byte[] bytes)


Copyright © 2008 OCLC Online Computer Library Center, Inc.. All Rights Reserved.