public enum ChunkLengthMode extends Enum<ChunkLengthMode>
Enum Constant and Description |
---|
CUSTOM
The chunk length is defined by the customChunkLength attribute
|
SPEED_OPTIMIZED
The chunk length is optimized for fast turnaround times
|
Modifier and Type | Method and Description |
---|---|
static ChunkLengthMode |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ChunkLengthMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkLengthMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkLengthMode SPEED_OPTIMIZED
public static final ChunkLengthMode CUSTOM
public static ChunkLengthMode[] values()
for (ChunkLengthMode c : ChunkLengthMode.values()) System.out.println(c);
public static ChunkLengthMode 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 String getValue()
public String toString()
toString
in class Enum<ChunkLengthMode>
public static ChunkLengthMode fromValue(String text)
Copyright © 2019. All rights reserved.