Package org.aoju.bus.office
Enum Class Protocol
- All Implemented Interfaces:
Serializable,Comparable<Protocol>,Constable
表示可用于与正在运行的office实例通信的协议.
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
PIPE
表示使用共享内存的命名管道连接类型. 这种类型的进程间连接比套接字连接稍微快一些, 并且只有在两个进程位于同一台机器上时才能工作. 默认情况下,不能在Java上工作,不支持命名管道. -
SOCKET
表示使用可靠的TCP/IP套接字连接的连接类型.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-