com.ibm.di.util
Class Base64EntryConverter

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

public class Base64EntryConverter
extends java.lang.Object


Constructor Summary
Base64EntryConverter()
          Constructor for Base64Entry.
Base64EntryConverter(java.lang.String userDefinedBiAttributeNames)
          Constructor for Base64Entry.
Base64EntryConverter(java.lang.String[] userDefinedBiAttributeNames)
          Constructor for Base64Entry.
Base64EntryConverter(java.lang.String userDefinedBiAttributeNames, java.lang.String delimiter)
          Constructor for Base64Entry.
 
Method Summary
 void base64decode(Entry entry)
          Encode the entry.
 void base64encode(Entry entry)
          Encode the entry.
 java.lang.String[] getBinaryAttributeNames(Entry entry)
          Get BASE64 encoding attributes
static void main(java.lang.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(java.lang.String[] userDefinedBiAttributeNames)
Constructor for Base64Entry.


Base64EntryConverter

public Base64EntryConverter(java.lang.String userDefinedBiAttributeNames)
Constructor for Base64Entry.

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

Base64EntryConverter

public Base64EntryConverter(java.lang.String userDefinedBiAttributeNames,
                            java.lang.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 java.lang.Exception
Encode the entry. All binary value attribute values will be encoded.

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

base64decode

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

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

getBinaryAttributeNames

public java.lang.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(java.lang.String[] args)