public static enum HTMLFormElement.FormEncoding extends Enum<HTMLFormElement.FormEncoding>
Enum Constant and Description |
---|
FORM_DATA |
TEXT_PLAIN |
URL_ENCODED |
Modifier and Type | Method and Description |
---|---|
static HTMLFormElement.FormEncoding |
get(String encoding) |
String |
getMime() |
static HTMLFormElement.FormEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTMLFormElement.FormEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTMLFormElement.FormEncoding URL_ENCODED
public static final HTMLFormElement.FormEncoding FORM_DATA
public static final HTMLFormElement.FormEncoding TEXT_PLAIN
public static HTMLFormElement.FormEncoding[] values()
for (HTMLFormElement.FormEncoding c : HTMLFormElement.FormEncoding.values()) System.out.println(c);
public static HTMLFormElement.FormEncoding 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 String getMime()
public static HTMLFormElement.FormEncoding get(String encoding)
Copyright © 2018 Xalys. All rights reserved.