Class UtilsRFC2253


  • public final class UtilsRFC2253
    extends java.lang.Object

    Class that provides functionality related with: RFC 2253: Lightweight Directory Access Protocol (v3).

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 11/11/2020.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String HEXCHAR
      Constant attribute that represents the string to identify the mask for hexadecimal characters.
      static java.util.regex.Pattern HEXPAIR_PATTERN
      Constant attribute that represents the string to identify the pattern for a hexadecimal pair.
      static java.lang.String HEXPAIR_REGEXP
      Constant attribute that represents the string to identify the regular expression for a hexadecimal pair.
      static java.lang.String PAIR_REGEXP
      Constant attribute that represents the string to identify the regular expression for a pair.
      static java.lang.String PAIRSEQUENCE_REGEXP
      Constant attribute that represents the string to identify the regular expression for a sequence of a pair.
      static java.lang.String QUOTATION
      Constant attribute that represents the string to identify the mask for quotes character.
      static java.lang.String SLASH
      Constant attribute that represents the string to identify the mask for slash character.
      static java.lang.String SPECIAL
      Constant attribute that represents the string to identify the mask for special characters.
    • Field Detail

      • HEXCHAR

        public static final java.lang.String HEXCHAR
        Constant attribute that represents the string to identify the mask for hexadecimal characters.
        See Also:
        Constant Field Values
      • SPECIAL

        public static final java.lang.String SPECIAL
        Constant attribute that represents the string to identify the mask for special characters.
        See Also:
        Constant Field Values
      • QUOTATION

        public static final java.lang.String QUOTATION
        Constant attribute that represents the string to identify the mask for quotes character.
        See Also:
        Constant Field Values
      • SLASH

        public static final java.lang.String SLASH
        Constant attribute that represents the string to identify the mask for slash character.
        See Also:
        Constant Field Values
      • HEXPAIR_REGEXP

        public static final java.lang.String HEXPAIR_REGEXP
        Constant attribute that represents the string to identify the regular expression for a hexadecimal pair.
        See Also:
        Constant Field Values
      • PAIR_REGEXP

        public static final java.lang.String PAIR_REGEXP
        Constant attribute that represents the string to identify the regular expression for a pair.
        See Also:
        Constant Field Values
      • PAIRSEQUENCE_REGEXP

        public static final java.lang.String PAIRSEQUENCE_REGEXP
        Constant attribute that represents the string to identify the regular expression for a sequence of a pair.
        See Also:
        Constant Field Values
      • HEXPAIR_PATTERN

        public static final java.util.regex.Pattern HEXPAIR_PATTERN
        Constant attribute that represents the string to identify the pattern for a hexadecimal pair.
    • Method Detail

      • unscape

        public java.lang.String unscape​(java.lang.String str)
                                 throws java.io.IOException
        Method that translates a UTF-8 string.
        Parameters:
        str - Parameter that represents the string to process.
        Returns:
        the processed string.
        Throws:
        java.io.IOException - If the method fails.