org.eclipse.higgins.sts.base64.apache
Class Base64ApacheExtension

java.lang.Object
  extended byorg.eclipse.higgins.sts.base64.apache.Base64ApacheExtension
All Implemented Interfaces:
org.eclipse.higgins.sts.spi.IBase64Extension, org.eclipse.higgins.configuration.api.IConfigurableComponent

public class Base64ApacheExtension
extends Object
implements org.eclipse.higgins.sts.spi.IBase64Extension

Author:
mikemci

Constructor Summary
Base64ApacheExtension()
           
 
Method Summary
 void configure(Map mapGlobalSettings, String strComponentName, Map mapComponentSettings)
           
 byte[] decode(String strData)
           
 String encode(BigInteger biData)
           
 String encode(byte[] byteData)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64ApacheExtension

public Base64ApacheExtension()
Method Detail

configure

public void configure(Map mapGlobalSettings,
                      String strComponentName,
                      Map mapComponentSettings)
Specified by:
configure in interface org.eclipse.higgins.configuration.api.IConfigurableComponent

decode

public byte[] decode(String strData)
              throws Exception
Specified by:
decode in interface org.eclipse.higgins.sts.spi.IBase64Extension
Throws:
Exception

encode

public String encode(BigInteger biData)
              throws Exception
Specified by:
encode in interface org.eclipse.higgins.sts.spi.IBase64Extension
Throws:
Exception

encode

public String encode(byte[] byteData)
              throws Exception
Specified by:
encode in interface org.eclipse.higgins.sts.spi.IBase64Extension
Throws:
Exception