public static enum Transport.AddressSource extends Enum<Transport.AddressSource>
Enum Constant and Description |
---|
SOURCE_CONFIG
unused
|
SOURCE_INTERFACE |
SOURCE_SSU |
SOURCE_UPNP |
Modifier and Type | Method and Description |
---|---|
String |
toConfigString() |
static Transport.AddressSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.AddressSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.AddressSource SOURCE_UPNP
public static final Transport.AddressSource SOURCE_INTERFACE
public static final Transport.AddressSource SOURCE_CONFIG
public static final Transport.AddressSource SOURCE_SSU
public static Transport.AddressSource[] values()
for (Transport.AddressSource c : Transport.AddressSource.values()) System.out.println(c);
public static Transport.AddressSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toConfigString()