Package gurux.net.enums
Enum AvailableMediaSettings
- java.lang.Object
-
- java.lang.Enum<AvailableMediaSettings>
-
- gurux.net.enums.AvailableMediaSettings
-
- All Implemented Interfaces:
Serializable,Comparable<AvailableMediaSettings>
public enum AvailableMediaSettings extends Enum<AvailableMediaSettings>
Describes available settings for the media.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvailableMediaSettingsforValue(int value)Get enumerator from integer value.intgetValue()Get enemerator's integer value.static AvailableMediaSettingsvalueOf(String name)Returns the enum constant of this type with the specified name.static AvailableMediaSettings[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final AvailableMediaSettings ALL
All network properties are shown.
-
SERVER
public static final AvailableMediaSettings SERVER
Is Server is shown.
-
PROTOCOL
public static final AvailableMediaSettings PROTOCOL
Network protocol is shown.
-
PORT
public static final AvailableMediaSettings PORT
Port number is shown.
-
HOST
public static final AvailableMediaSettings HOST
Host Name is shown.
-
-
Method Detail
-
values
public static AvailableMediaSettings[] 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 (AvailableMediaSettings c : AvailableMediaSettings.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AvailableMediaSettings 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
-
getValue
public int getValue()
Get enemerator's integer value.- Returns:
- Integer value of enumerator.
-
forValue
public static AvailableMediaSettings forValue(int value)
Get enumerator from integer value.- Parameters:
value- integer value.- Returns:
- Enumerator value.
-
-