public static enum CompressionUtil.CompressionMethod extends Enum<CompressionUtil.CompressionMethod>
| Enum Constant and Description |
|---|
GZIP |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends InputStream> |
getInputStreamClass() |
Class<? extends DeflaterOutputStream> |
getOutputStreamClass() |
static CompressionUtil.CompressionMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionUtil.CompressionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionUtil.CompressionMethod GZIP
public static CompressionUtil.CompressionMethod[] values()
for (CompressionUtil.CompressionMethod c : CompressionUtil.CompressionMethod.values()) System.out.println(c);
public static CompressionUtil.CompressionMethod 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 Class<? extends InputStream> getInputStreamClass()
public Class<? extends DeflaterOutputStream> getOutputStreamClass()
Copyright © 2018. All rights reserved.