public static enum CompressionFactory.Algorithm extends java.lang.Enum<CompressionFactory.Algorithm>
Enum Constant and Description |
---|
deflate
the DEFLATE algorithm, see
Deflater ,
Inflater ,
DeflaterOutputStream and
InflaterInputStream |
gzip
the GZIP algorithm, see
GZIPInputStream and
GZIPOutputStream |
zcmpsc
z/Architecture CMPSC instruction, see
ZCompressor |
Modifier and Type | Method and Description |
---|---|
static CompressionFactory.Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompressionFactory.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionFactory.Algorithm zcmpsc
ZCompressor
public static final CompressionFactory.Algorithm gzip
GZIPInputStream
and
GZIPOutputStream
public static final CompressionFactory.Algorithm deflate
Deflater
,
Inflater
,
DeflaterOutputStream
and
InflaterInputStream
public static CompressionFactory.Algorithm[] values()
for (CompressionFactory.Algorithm c : CompressionFactory.Algorithm.values()) System.out.println(c);
public static CompressionFactory.Algorithm 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