public static enum Transport.AddressSource extends Enum<Transport.AddressSource>
| Enum Constant and Description |
|---|
SOURCE_CONFIG |
SOURCE_INTERFACES o u r c e i n t e r f a c e |
SOURCE_SSUS o u r c e s s u |
SOURCE_UPNPS o u r c e u p n p |
| 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_CONFIG
public static final Transport.AddressSource SOURCE_INTERFACE
public static final Transport.AddressSource SOURCE_SSU
public static final Transport.AddressSource SOURCE_UPNP
public String toConfigString()
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 static Transport.AddressSource[] values()
for (Transport.AddressSource c : Transport.AddressSource.values()) System.out.println(c);