public static enum PackParser.Source extends 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(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(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 © 2015 Eclipse JGit Project. All rights reserved.