public static enum Attachment.Compression extends Enum<Attachment.Compression>
Enum Constant and Description |
---|
HUFF
huffman encoding for compression
|
LZ1
LZ1 compression
|
NONE
no compression
|
RECOMPRESS_HUFF
Huffman compression even if server supports LZ1
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Attachment.Compression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attachment.Compression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attachment.Compression NONE
public static final Attachment.Compression HUFF
public static final Attachment.Compression LZ1
public static final Attachment.Compression RECOMPRESS_HUFF
public static Attachment.Compression[] values()
for (Attachment.Compression c : Attachment.Compression.values()) System.out.println(c);
public static Attachment.Compression 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 int getValue()
Copyright © 2019–2021 HCL. All rights reserved.