com.ibm.di.util
Class Base64EntryConverter

java.lang.Object
  extended by com.ibm.di.util.Base64EntryConverter

public class Base64EntryConverter
extends Object


Constructor Summary
Base64EntryConverter()
          Constructor for Base64Entry.
Base64EntryConverter(String userDefinedBiAttributeNames)
          Constructor for Base64Entry.
Base64EntryConverter(String[] userDefinedBiAttributeNames)
          Constructor for Base64Entry.
Base64EntryConverter(String userDefinedBiAttributeNames, String delimiter)
          Constructor for Base64Entry.
 
Method Summary
 void base64decode(Entry entry)
          Encode the entry.
 void base64encode(Entry entry)
          Encode the entry.
 String[] getBinaryAttributeNames(Entry entry)
          Get BASE64 encoding attributes
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64EntryConverter

public Base64EntryConverter()
Constructor for Base64Entry.


Base64EntryConverter

public Base64EntryConverter(String[] userDefinedBiAttributeNames)
Constructor for Base64Entry.


Base64EntryConverter

public Base64EntryConverter(String userDefinedBiAttributeNames)
Constructor for Base64Entry.

Parameters:
userDefinedBiAttributeNames - : user defined binary attribute names delimited by ","

Base64EntryConverter

public Base64EntryConverter(String userDefinedBiAttributeNames,
                            String delimiter)
Constructor for Base64Entry.

Parameters:
userDefinedBiAttributeNames - User defined binary attribute names delimited by the second parameter
delimiter - Delimiter of the binary attribute names
Method Detail

base64encode

public void base64encode(Entry entry)
                  throws Exception
Encode the entry. All binary value attribute values will be encoded.

Parameters:
entry - : Entry of which attributs to encoded
Throws:
Exception

base64decode

public void base64decode(Entry entry)
                  throws Exception
Encode the entry. All binary value attribute values will be encoded.

Parameters:
entry - : Entry of which attributs to decoded
Throws:
Exception

getBinaryAttributeNames

public String[] getBinaryAttributeNames(Entry entry)
Get BASE64 encoding attributes

Parameters:
entry - : Entry of which the function will get the attribute names in Binary
Returns:
The Base 64 encoding attribute names in this entry as an ArrayList

main

public static void main(String[] args)