Package org.freedesktop.dbus.connections
Enum BusAddress.AddressBusTypes
- java.lang.Object
-
- java.lang.Enum<BusAddress.AddressBusTypes>
-
- org.freedesktop.dbus.connections.BusAddress.AddressBusTypes
-
- All Implemented Interfaces:
Serializable,Comparable<BusAddress.AddressBusTypes>
- Enclosing class:
- BusAddress
public static enum BusAddress.AddressBusTypes extends Enum<BusAddress.AddressBusTypes>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBusType()static BusAddress.AddressBusTypestoEnum(String _str)static BusAddress.AddressBusTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static BusAddress.AddressBusTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNIX
public static final BusAddress.AddressBusTypes UNIX
-
TCP
public static final BusAddress.AddressBusTypes TCP
-
-
Method Detail
-
values
public static BusAddress.AddressBusTypes[] 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 (BusAddress.AddressBusTypes c : BusAddress.AddressBusTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BusAddress.AddressBusTypes 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
-
getBusType
public String getBusType()
-
toEnum
public static BusAddress.AddressBusTypes toEnum(String _str)
-
-