public final class IPVersion extends ExpandableStringEnum<IPVersion>
| Modifier and Type | Field and Description |
|---|---|
static IPVersion |
IPV4
Static value IPv4 for IPVersion.
|
static IPVersion |
IPV6
Static value IPv6 for IPVersion.
|
| Constructor and Description |
|---|
IPVersion() |
| Modifier and Type | Method and Description |
|---|---|
static IPVersion |
fromString(String name)
Creates or finds a IPVersion from its string representation.
|
static Collection<IPVersion> |
values() |
equals, fromString, hashCode, toString, values, withNameValuepublic static final IPVersion IPV4
public static final IPVersion IPV6
public static IPVersion fromString(String name)
name - a name to look forpublic static Collection<IPVersion> values()
Copyright © 2019. All rights reserved.