|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HostNetworkInterfaceMediumType>
org.virtualbox_4_1.HostNetworkInterfaceMediumType
public enum HostNetworkInterfaceMediumType
Type of encapsulation. Ethernet encapsulation includes both wired and wireless Ethernet connections.
Interface ID: {1AA54AAF-2497-45A2-BFB1-8EB225E93D5B}
Enum Constant Summary | |
---|---|
Ethernet
Ethernet frame encapsulation. |
|
PPP
Point-to-point protocol encapsulation. |
|
SLIP
Serial line IP encapsulation. |
|
Unknown
The type of interface cannot be determined. |
Method Summary | |
---|---|
static HostNetworkInterfaceMediumType |
fromValue(long v)
|
static HostNetworkInterfaceMediumType |
fromValue(java.lang.String v)
|
int |
value()
|
static HostNetworkInterfaceMediumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HostNetworkInterfaceMediumType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HostNetworkInterfaceMediumType Unknown
public static final HostNetworkInterfaceMediumType Ethernet
public static final HostNetworkInterfaceMediumType PPP
public static final HostNetworkInterfaceMediumType SLIP
Method Detail |
---|
public static HostNetworkInterfaceMediumType[] values()
for (HostNetworkInterfaceMediumType c : HostNetworkInterfaceMediumType.values()) System.out.println(c);
public static HostNetworkInterfaceMediumType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static HostNetworkInterfaceMediumType fromValue(long v)
public static HostNetworkInterfaceMediumType fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |