Package com.ibm.di.util
Class Base64EntryConverter
- java.lang.Object
-
- com.ibm.di.util.Base64EntryConverter
-
public class Base64EntryConverter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbase64decode(Entry entry)Encode the entry.voidbase64encode(Entry entry)Encode the entry.java.lang.String[]getBinaryAttributeNames(Entry entry)Get BASE64 encoding attributesstatic voidmain(java.lang.String[] args)
-
-
-
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 parameterdelimiter- 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)
-
-