public static enum PackParser.Source extends java.lang.Enum<PackParser.Source>
Enum Constant and Description |
---|
DATABASE
Data is read back from the database's buffers.
|
INPUT
Data is read from the incoming stream.
|
Modifier and Type | Method and Description |
---|---|
static PackParser.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackParser.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackParser.Source INPUT
public static final PackParser.Source DATABASE
public static PackParser.Source[] values()
for (PackParser.Source c : PackParser.Source.values()) System.out.println(c);
public static PackParser.Source valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012. All Rights Reserved.