public enum HeaderType extends Enum<HeaderType>
Modifier and Type | Class and Description |
---|---|
static class |
HeaderType.Input
Input header type.
|
static class |
HeaderType.Output
Output header type.
|
Enum Constant and Description |
---|
AUTO
Ignore header only if exists, and generates header.
|
FORCE
Consumes and generates header.
|
NOTHING
No headers.
|
SKIP
Consumes header only if exists.
|
Modifier and Type | Method and Description |
---|---|
HeaderType.Input |
getInput()
Returns the input.
|
HeaderType.Output |
getOutput()
Returns the output.
|
static HeaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderType NOTHING
public static final HeaderType FORCE
public static final HeaderType SKIP
public static final HeaderType AUTO
public static HeaderType[] values()
for (HeaderType c : HeaderType.values()) System.out.println(c);
public static HeaderType 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 HeaderType.Input getInput()
public HeaderType.Output getOutput()
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.