public enum URIScheme extends Enum<URIScheme>
| Modifier and Type | Method and Description | 
|---|---|
| String | getId() | 
| boolean | same(String scheme) | 
| String | toString()Returns the name of this enum constant, as contained in the declaration. | 
| static URIScheme | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static URIScheme[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final URIScheme HTTP
public static final URIScheme HTTPS
public final String id
public String getId()
public boolean same(String scheme)
public String toString()
Enumpublic static URIScheme 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 static URIScheme[] values()
for (URIScheme c : URIScheme.values()) System.out.println(c);