public static enum Compressor.Tar.Compression extends java.lang.Enum<Compressor.Tar.Compression>
Modifier and Type | Method and Description |
---|---|
static Compressor.Tar.Compression |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Compressor.Tar.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compressor.Tar.Compression GZIP
public static final Compressor.Tar.Compression BZIP2
public static final Compressor.Tar.Compression NONE
public static Compressor.Tar.Compression[] values()
for (Compressor.Tar.Compression c : Compressor.Tar.Compression.values()) System.out.println(c);
public static Compressor.Tar.Compression 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 null