Class IPv6AddressStringParameters
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 booleanfinal booleanAllows the '%' character to be followed by no zone or scope identifierfinal booleanAllows IPv6 addresses with embedded ipv4 like a:b:c:d:e:f:1.2.3.4final booleanAllows IPv6 zones with the '%' character, which generally denotes either scope identifiers or network interfaces.static final booleanstatic final booleanstatic final booleanstatic final boolean -
Constructor Summary
ConstructorsConstructorDescriptionIPv6AddressStringParameters(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.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_EMPTY_ZONE
public static final boolean DEFAULT_ALLOW_EMPTY_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:
-
allowEmptyZone
public final boolean allowEmptyZoneAllows the '%' character to be followed by no zone or scope identifier- 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 allowEmptyZone, 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:
getNetworkin classIPAddressStringParameters.IPAddressStringFormatParameters
-
clone
-
getMixedParameters
-
compareTo
- Specified by:
compareToin interfaceComparable<IPv6AddressStringParameters>
-
equals
- Overrides:
equalsin classIPAddressStringParameters.IPAddressStringFormatParameters
-
hashCode
public int hashCode()- Overrides:
hashCodein classIPAddressStringParameters.IPAddressStringFormatParameters
-