public enum UrlEncoding extends Enum<UrlEncoding>
| Modifier and Type | Method and Description |
|---|---|
abstract String |
encode(String text) |
static UrlEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlEncoding QUERY
public static final UrlEncoding WIKI
public static final UrlEncoding PATH
public static UrlEncoding[] values()
for (UrlEncoding c : UrlEncoding.values()) System.out.println(c);
public static UrlEncoding 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 nullCopyright © 2010–2018 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.