public class IPv6AddressStringParameters extends IPAddressStringParameters.IPAddressStringFormatParameters implements java.lang.Comparable<IPv6AddressStringParameters>
IPAddressStringParameters
instance.Modifier and Type | Class and Description |
---|---|
static class |
IPv6AddressStringParameters.Builder |
Modifier and Type | Field and Description |
---|---|
boolean |
allowBase85 |
boolean |
allowMixed
Allows IPv6 addresses with embedded ipv4 like a:b:c:d:e:f:1.2.3.4
|
boolean |
allowZone
Allows IPv6 zones with the '%' character, which generally denotes either scope identifiers or network interfaces.
|
static boolean |
DEFAULT_ALLOW_BASE85 |
static boolean |
DEFAULT_ALLOW_MIXED |
static boolean |
DEFAULT_ALLOW_ZONE |
allowPrefixesBeyondAddressSize, allowPrefixLengthLeadingZeros, DEFAULT_ALLOW_PREFIX_BEYOND_ADDRESS_SIZE, DEFAULT_ALLOW_PREFIX_LENGTH_LEADING_ZEROS
allowLeadingZeros, allowUnlimitedLeadingZeros, allowWildcardedSeparator, DEFAULT_ALLOW_LEADING_ZEROS, DEFAULT_ALLOW_UNLIMITED_LEADING_ZEROS, DEFAULT_ALLOW_WILDCARDED_SEPARATOR, DEFAULT_RANGE_OPTIONS, rangeOptions
Constructor and Description |
---|
IPv6AddressStringParameters(boolean allowLeadingZeros,
boolean allowCIDRPrefixLeadingZeros,
boolean allowUnlmitedLeadingZeros,
boolean allowMixed,
IPAddressStringParameters mixedOptions,
boolean allowZone,
boolean allowBase85,
AddressStringParameters.RangeParameters rangeOptions,
boolean allowWildcardedSeparator,
boolean allowPrefixesBeyondAddressSize,
IPv6AddressNetwork network) |
Modifier and Type | Method and Description |
---|---|
IPv6AddressStringParameters |
clone() |
int |
compareTo(IPv6AddressStringParameters o) |
boolean |
equals(java.lang.Object o) |
IPAddressStringParameters |
getMixedParameters() |
IPv6AddressNetwork |
getNetwork() |
int |
hashCode() |
IPv6AddressStringParameters.Builder |
toBuilder() |
IPv6AddressStringParameters.Builder |
toBuilder(boolean isMixed) |
public static final boolean DEFAULT_ALLOW_MIXED
public static final boolean DEFAULT_ALLOW_ZONE
public static final boolean DEFAULT_ALLOW_BASE85
public final boolean allowMixed
DEFAULT_ALLOW_MIXED
public final boolean allowZone
DEFAULT_ALLOW_ZONE
public final boolean allowBase85
public IPv6AddressStringParameters(boolean allowLeadingZeros, boolean allowCIDRPrefixLeadingZeros, boolean allowUnlmitedLeadingZeros, boolean allowMixed, IPAddressStringParameters mixedOptions, boolean allowZone, boolean allowBase85, AddressStringParameters.RangeParameters rangeOptions, boolean allowWildcardedSeparator, boolean allowPrefixesBeyondAddressSize, IPv6AddressNetwork network)
public IPv6AddressStringParameters.Builder toBuilder()
public IPv6AddressStringParameters.Builder toBuilder(boolean isMixed)
public IPv6AddressNetwork getNetwork()
getNetwork
in class IPAddressStringParameters.IPAddressStringFormatParameters
public IPv6AddressStringParameters clone()
clone
in class java.lang.Object
public IPAddressStringParameters getMixedParameters()
public int compareTo(IPv6AddressStringParameters o)
compareTo
in interface java.lang.Comparable<IPv6AddressStringParameters>
public boolean equals(java.lang.Object o)
equals
in class IPAddressStringParameters.IPAddressStringFormatParameters
public int hashCode()
hashCode
in class IPAddressStringParameters.IPAddressStringFormatParameters