Enum Class UriKit.Type

java.lang.Object
java.lang.Enum<UriKit.Type>
org.aoju.bus.core.toolkit.UriKit.Type
All Implemented Interfaces:
Serializable, Comparable<UriKit.Type>, Constable
Enclosing class:
UriKit

public static enum UriKit.Type extends Enum<UriKit.Type>
枚举,用于标识每个URI组件允许的字符. 包含指示给定字符在特定URI组件中是否有效 .
  • Enum Constant Details

  • Method Details

    • values

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

      public static UriKit.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • isAllowed

      public abstract boolean isAllowed(int c)
    • isAlpha

      protected boolean isAlpha(int c)
    • isDigit

      protected boolean isDigit(int c)
    • isGenericDelimiter

      protected boolean isGenericDelimiter(int c)
    • isSubDelimiter

      protected boolean isSubDelimiter(int c)
    • isReserved

      protected boolean isReserved(int c)
    • isUnreserved

      protected boolean isUnreserved(int c)
    • isPchar

      protected boolean isPchar(int c)