public final enum StandardProtocolFamily
extends Enum<StandardProtocolFamily>
implements ProtocolFamily
java.lang.Object | ||
↳ | java.lang.Enum<java.net.StandardProtocolFamily> | |
↳ | java.net.StandardProtocolFamily |
定义通信协议的标准系列。
Enum values |
|
---|---|
StandardProtocolFamily |
INET 互联网协议版本4(IPv4) |
StandardProtocolFamily |
INET6 互联网协议版本6(IPv6) |
Public methods |
|
---|---|
static StandardProtocolFamily |
valueOf(String name) |
static final StandardProtocolFamily[] |
values() |
Inherited methods |
|
---|---|
From class java.lang.Enum
|
|
From class java.lang.Object
|
|
From interface java.lang.Comparable
|
|
From interface java.net.ProtocolFamily
|
StandardProtocolFamily valueOf (String name)
Parameters | |
---|---|
name |
String
|
Returns | |
---|---|
StandardProtocolFamily |