public static enum AutomaticBean.OutputStreamOptions extends Enum<AutomaticBean.OutputStreamOptions>
Enum Constant and Description |
---|
CLOSE
Close stream in the end.
|
NONE
Do nothing in the end.
|
Modifier and Type | Method and Description |
---|---|
static AutomaticBean.OutputStreamOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticBean.OutputStreamOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomaticBean.OutputStreamOptions CLOSE
public static final AutomaticBean.OutputStreamOptions NONE
public static AutomaticBean.OutputStreamOptions[] values()
for (AutomaticBean.OutputStreamOptions c : AutomaticBean.OutputStreamOptions.values()) System.out.println(c);
public static AutomaticBean.OutputStreamOptions 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 © 2001–2018. All rights reserved.