public enum ComponentType extends Enum<ComponentType>
| Enum Constant and Description |
|---|
AUTHORITY |
FRAGMENT |
PATH |
QUERY |
SCHEME |
| Modifier and Type | Method and Description |
|---|---|
static ComponentType |
findByInteger(int value) |
static ComponentType |
findByName(String name) |
static Set<ComponentType> |
getAll() |
int |
getIntValue() |
String |
getName() |
static ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentType SCHEME
public static final ComponentType AUTHORITY
public static final ComponentType PATH
public static final ComponentType QUERY
public static final ComponentType FRAGMENT
public static ComponentType[] values()
for (ComponentType c : ComponentType.values()) System.out.println(c);
public static ComponentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getIntValue()
public String getName()
public static Set<ComponentType> getAll()
public static ComponentType findByInteger(int value)
public static ComponentType findByName(String name)
Copyright © 2020. All rights reserved.