public abstract static class IPAddressStringParameters.IPAddressStringFormatParameters extends AddressStringParameters.AddressStringFormatParameters
Modifier and Type | Field and Description |
---|---|
boolean |
allowBinary
Allows ip address binary format 0b1.0b100.0b0.0b10101010 or 0b1111000011110000::0b0101010101010101
|
boolean |
allowPrefixesBeyondAddressSize
controls whether ipv4 can have prefix length bigger than 32 and whether ipv6 can have prefix length bigger than 128
|
boolean |
allowPrefixLengthLeadingZeros
controls whether you allow addresses with prefixes that have leasing zeros like 1.0.0.0/08 or 1::/064
|
static boolean |
DEFAULT_ALLOW_BINARY |
static boolean |
DEFAULT_ALLOW_PREFIX_BEYOND_ADDRESS_SIZE |
static boolean |
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 |
---|
IPAddressStringFormatParameters(boolean allowLeadingZeros,
boolean allowPrefixLengthLeadingZeros,
boolean allowUnlimitedLeadingZeros,
AddressStringParameters.RangeParameters rangeOptions,
boolean allowWildcardedSeparator,
boolean allowPrefixesBeyondAddressSize)
Deprecated.
|
IPAddressStringFormatParameters(boolean allowBinary,
boolean allowLeadingZeros,
boolean allowPrefixLengthLeadingZeros,
boolean allowUnlimitedLeadingZeros,
AddressStringParameters.RangeParameters rangeOptions,
boolean allowWildcardedSeparator,
boolean allowPrefixesBeyondAddressSize)
Constructs the parameters for parsing version-specific IP address strings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
abstract IPAddressNetwork<?,?,?,?,?> |
getNetwork() |
int |
hashCode() |
public static final boolean DEFAULT_ALLOW_PREFIX_LENGTH_LEADING_ZEROS
public static final boolean DEFAULT_ALLOW_PREFIX_BEYOND_ADDRESS_SIZE
public static final boolean DEFAULT_ALLOW_BINARY
public final boolean allowBinary
public final boolean allowPrefixesBeyondAddressSize
DEFAULT_ALLOW_PREFIX_BEYOND_ADDRESS_SIZE
public final boolean allowPrefixLengthLeadingZeros
@Deprecated public IPAddressStringFormatParameters(boolean allowLeadingZeros, boolean allowPrefixLengthLeadingZeros, boolean allowUnlimitedLeadingZeros, AddressStringParameters.RangeParameters rangeOptions, boolean allowWildcardedSeparator, boolean allowPrefixesBeyondAddressSize)
public IPAddressStringFormatParameters(boolean allowBinary, boolean allowLeadingZeros, boolean allowPrefixLengthLeadingZeros, boolean allowUnlimitedLeadingZeros, AddressStringParameters.RangeParameters rangeOptions, boolean allowWildcardedSeparator, boolean allowPrefixesBeyondAddressSize)
allowBinary
- allowLeadingZeros
- allowPrefixLengthLeadingZeros
- allowUnlimitedLeadingZeros
- rangeOptions
- allowWildcardedSeparator
- allowPrefixesBeyondAddressSize
- public abstract IPAddressNetwork<?,?,?,?,?> getNetwork()
public boolean equals(Object o)
equals
in class AddressStringParameters.AddressStringFormatParameters
public int hashCode()
hashCode
in class AddressStringParameters.AddressStringFormatParameters