public enum CompressionAlgorithm extends Enum<CompressionAlgorithm>
Enum Constant and Description |
---|
DEF
A lossless compressed data format that compresses data using a combination of the LZ77 algorithm and Huffman
coding.
|
NONE
When no compression is applied.
|
Modifier and Type | Method and Description |
---|---|
static CompressionAlgorithm |
parseAlgorithm(String algorithm)
Parses the given algorithm string to find the matching CompressionAlgorithm enum constant.
|
static CompressionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionAlgorithm NONE
public static final CompressionAlgorithm DEF
public static CompressionAlgorithm[] values()
for (CompressionAlgorithm c : CompressionAlgorithm.values()) System.out.println(c);
public static CompressionAlgorithm 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 nullpublic static CompressionAlgorithm parseAlgorithm(String algorithm)
algorithm
- The compression algorithm.Copyright 2010-2022 ForgeRock AS.