Package net.bramp.ffmpeg.progress
Enum Progress.Status
- java.lang.Object
-
- java.lang.Enum<Progress.Status>
-
- net.bramp.ffmpeg.progress.Progress.Status
-
- All Implemented Interfaces:
Serializable,Comparable<Progress.Status>
- Enclosing class:
- Progress
public static enum Progress.Status extends Enum<Progress.Status>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Progress.Statusof(String status)Returns the canonical status for this String or throws a IllegalArgumentException.StringtoString()static Progress.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Progress.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final Progress.Status CONTINUE
-
END
public static final Progress.Status END
-
-
Method Detail
-
values
public static Progress.Status[] 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 (Progress.Status c : Progress.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Progress.Status 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<Progress.Status>
-
of
public static Progress.Status of(String status)
Returns the canonical status for this String or throws a IllegalArgumentException.- Parameters:
status- the status to convert to a Status enum.- Returns:
- the Status enum.
- Throws:
IllegalArgumentException- if the status is unknown.
-
-