Enum ECodepointProfile
- java.lang.Object
-
- java.lang.Enum<ECodepointProfile>
-
- com.helger.commons.text.codepoint.ECodepointProfile
-
- All Implemented Interfaces:
Serializable,Comparable<ECodepointProfile>
public enum ECodepointProfile extends Enum<ECodepointProfile>
- Author:
- Apache Abdera
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHAALPHANUMASCIISANSCRLFAUTHORITYFRAGMENTIFRAGMENTIHOSTIPATHIPATHNODELIMSIPATHNODELIMS_SEGIPRIVATEIQUERYIREGNAMEIUNRESERVEDIUSERINFONONEPATHPATHNODELIMSPCTQUERYRESERVEDSCHEMESCHEMESPECIFICPARTSTD3ASCIIRULESUNRESERVEDUSERINFO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(int nCodepoint)IntPredicategetFilter()static ECodepointProfilevalueOf(String name)Returns the enum constant of this type with the specified name.static ECodepointProfile[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ECodepointProfile NONE
-
ALPHA
public static final ECodepointProfile ALPHA
-
ALPHANUM
public static final ECodepointProfile ALPHANUM
-
FRAGMENT
public static final ECodepointProfile FRAGMENT
-
IFRAGMENT
public static final ECodepointProfile IFRAGMENT
-
PATH
public static final ECodepointProfile PATH
-
IPATH
public static final ECodepointProfile IPATH
-
IUSERINFO
public static final ECodepointProfile IUSERINFO
-
USERINFO
public static final ECodepointProfile USERINFO
-
QUERY
public static final ECodepointProfile QUERY
-
IQUERY
public static final ECodepointProfile IQUERY
-
SCHEME
public static final ECodepointProfile SCHEME
-
PATHNODELIMS
public static final ECodepointProfile PATHNODELIMS
-
IPATHNODELIMS
public static final ECodepointProfile IPATHNODELIMS
-
IPATHNODELIMS_SEG
public static final ECodepointProfile IPATHNODELIMS_SEG
-
IREGNAME
public static final ECodepointProfile IREGNAME
-
IHOST
public static final ECodepointProfile IHOST
-
IPRIVATE
public static final ECodepointProfile IPRIVATE
-
RESERVED
public static final ECodepointProfile RESERVED
-
IUNRESERVED
public static final ECodepointProfile IUNRESERVED
-
UNRESERVED
public static final ECodepointProfile UNRESERVED
-
SCHEMESPECIFICPART
public static final ECodepointProfile SCHEMESPECIFICPART
-
AUTHORITY
public static final ECodepointProfile AUTHORITY
-
ASCIISANSCRLF
public static final ECodepointProfile ASCIISANSCRLF
-
PCT
public static final ECodepointProfile PCT
-
STD3ASCIIRULES
public static final ECodepointProfile STD3ASCIIRULES
-
-
Method Detail
-
values
public static ECodepointProfile[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ECodepointProfile c : ECodepointProfile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ECodepointProfile 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 nameNullPointerException- if the argument is null
-
getFilter
@Nonnull public IntPredicate getFilter()
-
check
public boolean check(int nCodepoint)
-
-