getStreamFormat
public int getStreamFormat()
valueOf
public static InputInfo.StreamDir valueOf(java.lang.String name)
where:
Parameter Name | Description |
---|---|
name |
the name of the enum constant to be returned. |
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.
valueOf throws the following exceptions:
- java.lang.IllegalArgumentException - if this enum type has no constant with the specified name.
- java.lang.NullPointerException - if the argument is null.
values
public static InputInfo.StreamDir[] 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 (InputInfo.StreamDir c : InputInfo.StreamDir.values()) System.out.println(c);
Inherited Methods
The following methods are inherited from class java.lang.Enum:
- compareTo
- equals
- get DeclaringClass
- hashCode
- name
- ordinal
- toString
- valueOf
The following methods are inherited from class java.lang.Object:
- getClass
- notify
- notifyAll
- wait, wait, wait