public enum OfficeConnectionProtocol extends java.lang.Enum<OfficeConnectionProtocol>
Enum Constant and Description |
---|
PIPE
Represents the named pipes connection type that uses shared memory.
|
SOCKET
Represents the connection type tha uses reliable TCP/IP socket connection.
|
Modifier and Type | Method and Description |
---|---|
static OfficeConnectionProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OfficeConnectionProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfficeConnectionProtocol PIPE
public static final OfficeConnectionProtocol SOCKET
public static OfficeConnectionProtocol[] values()
for (OfficeConnectionProtocol c : OfficeConnectionProtocol.values()) System.out.println(c);
public static OfficeConnectionProtocol 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 namejava.lang.NullPointerException
- if the argument is null