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, valueOfavailable, compress, compress, compress, compressingStream, decompressingStream, uncompress, uncompress, uncompress, uncompresspublic 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.