public static enum GZipHeader.Magic extends Enum<GZipHeader.Magic>
| Enum Constant and Description |
|---|
GZIP |
NOT_ENOUGH_DATA |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static GZipHeader.Magic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GZipHeader.Magic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GZipHeader.Magic GZIP
public static final GZipHeader.Magic UNDEFINED
public static final GZipHeader.Magic NOT_ENOUGH_DATA
public static GZipHeader.Magic[] values()
for (GZipHeader.Magic c : GZipHeader.Magic.values()) System.out.println(c);
public static GZipHeader.Magic 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 © 2016 Apigee Corporation. All Rights Reserved.