Enum UriEscapeUtil.UriEscapeType

java.lang.Object
java.lang.Enum<UriEscapeUtil.UriEscapeType>
org.unbescape.uri.UriEscapeUtil.UriEscapeType
All Implemented Interfaces:
Serializable, Comparable<UriEscapeUtil.UriEscapeType>, java.lang.constant.Constable
Enclosing class:
UriEscapeUtil

static enum UriEscapeUtil.UriEscapeType extends Enum<UriEscapeUtil.UriEscapeType>
  • Enum Constant Details

  • Constructor Details

    • UriEscapeType

      private UriEscapeType()
  • Method Details

    • values

      public static UriEscapeUtil.UriEscapeType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UriEscapeUtil.UriEscapeType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isAllowed

      public abstract boolean isAllowed(int c)
    • canPlusEscapeWhitespace

      public boolean canPlusEscapeWhitespace()
    • isPchar

      private static boolean isPchar(int c)
    • isUnreserved

      private static boolean isUnreserved(int c)
    • isReserved

      private static boolean isReserved(int c)
    • isSubDelim

      private static boolean isSubDelim(int c)
    • isGenDelim

      private static boolean isGenDelim(int c)
    • isAlpha

      static boolean isAlpha(int c)
    • isDigit

      private static boolean isDigit(int c)