public static enum ImportParams.Compression extends java.lang.Enum<ImportParams.Compression>
Enum Constant and Description |
---|
GZIP Data is sent using GZIP compression |
NONE Data is sent uncompressed |
Modifier and Type | Method and Description |
---|---|
static ImportParams.Compression | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static ImportParams.Compression[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final ImportParams.Compression NONE
public static final ImportParams.Compression GZIP
public static ImportParams.Compression[] values()
for (ImportParams.Compression c : ImportParams.Compression.values()) System.out.println(c);
public static ImportParams.Compression 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