public static enum ChunkReader.ChunkReaderMode extends Enum<ChunkReader.ChunkReaderMode>
Enum Constant and Description |
---|
BUFFER
Stores full chunk data in buffer
|
PROCESS
Does not store content, processes on the fly, calling processData() for each partial read
|
SKIP
Does not store nor process - implies crcCheck=false (by default).
|
Modifier and Type | Method and Description |
---|---|
static ChunkReader.ChunkReaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkReader.ChunkReaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkReader.ChunkReaderMode BUFFER
public static final ChunkReader.ChunkReaderMode PROCESS
public static final ChunkReader.ChunkReaderMode SKIP
public static ChunkReader.ChunkReaderMode[] values()
for (ChunkReader.ChunkReaderMode c : ChunkReader.ChunkReaderMode.values()) System.out.println(c);
public static ChunkReader.ChunkReaderMode 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 nullCopyright © 2014. All rights reserved.