java.lang.Object
inet.ipaddr.AddressStringParameters.AddressStringFormatParameters
inet.ipaddr.IPAddressStringParameters.IPAddressStringFormatParameters
inet.ipaddr.ipv6.IPv6AddressStringParameters
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<IPv6AddressStringParameters>
public class IPv6AddressStringParameters
extends IPAddressStringParameters.IPAddressStringFormatParameters
implements Comparable<IPv6AddressStringParameters>
The IPv6-specific parameters within a
IPAddressStringParameters
instance.- Author:
- sfoley
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
final boolean
Allows IPv6 addresses with embedded ipv4 like a:b:c:d:e:f:1.2.3.4final boolean
Allows IPv6 zones with the '%' character, which generally denotes either scope identifiers or network interfaces.static final boolean
static final boolean
static final boolean
Fields inherited from class inet.ipaddr.IPAddressStringParameters.IPAddressStringFormatParameters
allowBinary, allowPrefixesBeyondAddressSize, allowPrefixLengthLeadingZeros, DEFAULT_ALLOW_BINARY, DEFAULT_ALLOW_PREFIX_BEYOND_ADDRESS_SIZE, DEFAULT_ALLOW_PREFIX_LENGTH_LEADING_ZEROS
Fields inherited from class inet.ipaddr.AddressStringParameters.AddressStringFormatParameters
allowLeadingZeros, allowUnlimitedLeadingZeros, allowWildcardedSeparator, DEFAULT_ALLOW_LEADING_ZEROS, DEFAULT_ALLOW_UNLIMITED_LEADING_ZEROS, DEFAULT_ALLOW_WILDCARDED_SEPARATOR, DEFAULT_RANGE_OPTIONS, rangeOptions
-
Constructor Summary
ConstructorsConstructorDescriptionIPv6AddressStringParameters
(boolean allowLeadingZeros, boolean allowCIDRPrefixLeadingZeros, boolean allowUnlmitedLeadingZeros, boolean allowMixed, IPAddressStringParameters mixedOptions, boolean allowZone, boolean allowBase85, AddressStringParameters.RangeParameters rangeOptions, boolean allowWildcardedSeparator, boolean allowPrefixesBeyondAddressSize, boolean allowBinary, IPv6AddressNetwork network) Constructs the parameters for IPv6-specific string parsing.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. -
Method Summary
-
Field Details
-
DEFAULT_ALLOW_MIXED
public static final boolean DEFAULT_ALLOW_MIXED- See Also:
-
DEFAULT_ALLOW_ZONE
public static final boolean DEFAULT_ALLOW_ZONE- See Also:
-
DEFAULT_ALLOW_BASE85
public static final boolean DEFAULT_ALLOW_BASE85- See Also:
-
allowMixed
public final boolean allowMixedAllows IPv6 addresses with embedded ipv4 like a:b:c:d:e:f:1.2.3.4- See Also:
-
allowZone
public final boolean allowZoneAllows IPv6 zones with the '%' character, which generally denotes either scope identifiers or network interfaces.- See Also:
-
allowBase85
public final boolean allowBase85
-
-
Constructor Details
-
IPv6AddressStringParameters
@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) Deprecated.Retained for backwards compatibility.
Library users are strongly encourage to use the builder classes instead of this constructor. -
IPv6AddressStringParameters
public IPv6AddressStringParameters(boolean allowLeadingZeros, boolean allowCIDRPrefixLeadingZeros, boolean allowUnlmitedLeadingZeros, boolean allowMixed, IPAddressStringParameters mixedOptions, boolean allowZone, boolean allowBase85, AddressStringParameters.RangeParameters rangeOptions, boolean allowWildcardedSeparator, boolean allowPrefixesBeyondAddressSize, boolean allowBinary, IPv6AddressNetwork network) Constructs the parameters for IPv6-specific string parsing.
Users are strongly encouraged to use the nested Builder class instead of this constructor.- Parameters:
allowLeadingZeros
-allowCIDRPrefixLeadingZeros
-allowUnlmitedLeadingZeros
-allowMixed
-mixedOptions
-allowZone
-allowBase85
-rangeOptions
-allowWildcardedSeparator
-allowPrefixesBeyondAddressSize
-allowBinary
-network
-
-
-
Method Details
-
toBuilder
-
toBuilder
-
getNetwork
- Specified by:
getNetwork
in classIPAddressStringParameters.IPAddressStringFormatParameters
-
clone
-
getMixedParameters
-
compareTo
- Specified by:
compareTo
in interfaceComparable<IPv6AddressStringParameters>
-
equals
- Overrides:
equals
in classIPAddressStringParameters.IPAddressStringFormatParameters
-
hashCode
public int hashCode()- Overrides:
hashCode
in classIPAddressStringParameters.IPAddressStringFormatParameters
-