public enum Compressions extends Enum<Compressions> implements Compression
Enum Constant and Description |
---|
Binary
Binary compression is a placeholder compression which does not perform any actual
compression.
|
GZIP
GZIP is a file format and a software application used for file compression and decompression.
|
LZW
LZW (Lempel-Ziv-Welch) is a lossless data compression algorithm.
|
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 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 © 2023. All rights reserved.