Package tv.hd3g.transfertfiles
Enum DataExchangeInOutStream.State
- java.lang.Object
-
- java.lang.Enum<DataExchangeInOutStream.State>
-
- tv.hd3g.transfertfiles.DataExchangeInOutStream.State
-
- All Implemented Interfaces:
Serializable,Comparable<DataExchangeInOutStream.State>
- Enclosing class:
- DataExchangeInOutStream
public static enum DataExchangeInOutStream.State extends Enum<DataExchangeInOutStream.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILTER_ERRORSTOPPED_BY_FILTERSTOPPED_BY_USERWORKINGWRITER_MANUALLY_CLOSED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataExchangeInOutStream.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static DataExchangeInOutStream.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKING
public static final DataExchangeInOutStream.State WORKING
-
STOPPED_BY_USER
public static final DataExchangeInOutStream.State STOPPED_BY_USER
-
STOPPED_BY_FILTER
public static final DataExchangeInOutStream.State STOPPED_BY_FILTER
-
WRITER_MANUALLY_CLOSED
public static final DataExchangeInOutStream.State WRITER_MANUALLY_CLOSED
-
FILTER_ERROR
public static final DataExchangeInOutStream.State FILTER_ERROR
-
-
Method Detail
-
values
public static DataExchangeInOutStream.State[] 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 (DataExchangeInOutStream.State c : DataExchangeInOutStream.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataExchangeInOutStream.State 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
-
-