Enum MultipartContent.IsFinished
- java.lang.Object
-
- java.lang.Enum<MultipartContent.IsFinished>
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.batchprocessing.multipart.MultipartContent.IsFinished
-
- All Implemented Interfaces:
Serializable,Comparable<MultipartContent.IsFinished>
- Enclosing interface:
- MultipartContent
public static enum MultipartContent.IsFinished extends Enum<MultipartContent.IsFinished>
Indicates the parse-state of the Content.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINISHEDThe Content does not expect any more lines.UNFINISHEDThe content expects more lines.UNKNOWNThe content does not know.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultipartContent.IsFinishedvalueOf(String name)Returns the enum constant of this type with the specified name.static MultipartContent.IsFinished[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FINISHED
public static final MultipartContent.IsFinished FINISHED
The Content does not expect any more lines.
-
UNKNOWN
public static final MultipartContent.IsFinished UNKNOWN
The content does not know.
-
UNFINISHED
public static final MultipartContent.IsFinished UNFINISHED
The content expects more lines.
-
-
Method Detail
-
values
public static MultipartContent.IsFinished[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MultipartContent.IsFinished c : MultipartContent.IsFinished.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultipartContent.IsFinished valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-