public class IPv6AddressStringParameters extends IPAddressStringParameters.IPAddressStringFormatParameters implements Comparable<IPv6AddressStringParameters>
IPAddressStringParameters
instance.Modifier and Type | Class and Description |
---|---|
static class |
IPv6AddressStringParameters.Builder |
Modifier and Type | Field and Description |
---|---|
boolean |
allowBase85 |
boolean |
allowEmptyZone
Allows the '%' character to be followed by no zone or scope identifier
|
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_EMPTY_ZONE |
static boolean |
DEFAULT_ALLOW_MIXED |
static boolean |
DEFAULT_ALLOW_ZONE |
allowBinary, allowPrefixesBeyondAddressSize, allowPrefixLengthLeadingZeros, DEFAULT_ALLOW_BINARY, 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)
Deprecated.
|
IPv6AddressStringParameters(boolean allowLeadingZeros,
boolean allowCIDRPrefixLeadingZeros,
boolean allowUnlmitedLeadingZeros,
boolean allowMixed,
IPAddressStringParameters mixedOptions,
boolean allowZone,
boolean allowEmptyZone,
boolean allowBase85,
AddressStringParameters.RangeParameters rangeOptions,
boolean allowWildcardedSeparator,
boolean allowPrefixesBeyondAddressSize,
boolean allowBinary,
IPv6AddressNetwork network)
Constructs the parameters for IPv6-specific string parsing.
|
Modifier and Type | Method and Description |
---|---|
IPv6AddressStringParameters |
clone() |
int |
compareTo(IPv6AddressStringParameters o) |
boolean |
equals(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_EMPTY_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 allowEmptyZone
DEFAULT_ALLOW_EMPTY_ZONE
public final boolean allowBase85
@Deprecated 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(boolean allowLeadingZeros, boolean allowCIDRPrefixLeadingZeros, boolean allowUnlmitedLeadingZeros, boolean allowMixed, IPAddressStringParameters mixedOptions, boolean allowZone, boolean allowEmptyZone, boolean allowBase85, AddressStringParameters.RangeParameters rangeOptions, boolean allowWildcardedSeparator, boolean allowPrefixesBeyondAddressSize, boolean allowBinary, IPv6AddressNetwork network)
allowLeadingZeros
- allowCIDRPrefixLeadingZeros
- allowUnlmitedLeadingZeros
- allowMixed
- mixedOptions
- allowZone
- allowBase85
- rangeOptions
- allowWildcardedSeparator
- allowPrefixesBeyondAddressSize
- allowBinary
- network
- public IPv6AddressStringParameters.Builder toBuilder()
public IPv6AddressStringParameters.Builder toBuilder(boolean isMixed)
public IPv6AddressNetwork getNetwork()
getNetwork
in class IPAddressStringParameters.IPAddressStringFormatParameters
public IPv6AddressStringParameters clone()
public IPAddressStringParameters getMixedParameters()
public int compareTo(IPv6AddressStringParameters o)
compareTo
in interface Comparable<IPv6AddressStringParameters>
public boolean equals(Object o)
equals
in class IPAddressStringParameters.IPAddressStringFormatParameters
public int hashCode()
hashCode
in class IPAddressStringParameters.IPAddressStringFormatParameters