public enum OfficeConnectionProtocol extends 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(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(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 null