public static enum ZipFileBackedMessageFactory.CompressionMode extends java.lang.Enum<ZipFileBackedMessageFactory.CompressionMode>
Enum Constant and Description |
---|
Both
Both mode expects uncompressed data as message payload and yield uncompressed
data when reading the message back.
|
Compress
Compress mode will expect uncompressed data as message payload and write it to a
zip file.
|
Uncompress
Uncompress mode will expect compressed data as the message payload and yield
uncompressed data when the message is being read.
|
Modifier and Type | Method and Description |
---|---|
static ZipFileBackedMessageFactory.CompressionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZipFileBackedMessageFactory.CompressionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZipFileBackedMessageFactory.CompressionMode Compress
public static final ZipFileBackedMessageFactory.CompressionMode Uncompress
public static final ZipFileBackedMessageFactory.CompressionMode Both
public static ZipFileBackedMessageFactory.CompressionMode[] values()
for (ZipFileBackedMessageFactory.CompressionMode c : ZipFileBackedMessageFactory.CompressionMode.values()) System.out.println(c);
public static ZipFileBackedMessageFactory.CompressionMode 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