Class Base64EntryConverter


  • public class Base64EntryConverter
    extends java.lang.Object
    • 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)