public enum Compressions extends Enum<Compressions> implements Compression
Modifier and Type | Method and Description |
---|---|
static Compressions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Compressions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
available, compress, compress, compress, compressingStream, decompressingStream, uncompress, uncompress, uncompress, uncompress
public static final Compressions Binary
public static final Compressions LZW
public static final Compressions GZIP
public static final Compressions Snappy
public static Compressions[] values()
for (Compressions c : Compressions.values()) System.out.println(c);
public static Compressions 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 © 2017. All rights reserved.