public static class IPv4AddressStringParameters.Builder extends Object
Constructor and Description |
---|
Builder() |
public IPv6AddressStringParameters.Builder getEmbeddedIPv4AddressParentBuilder()
public IPv4AddressStringParameters.Builder allow_inet_aton(boolean allow)
IPAddressStringParameters.Builder#allowSingleSegment(boolean)
This does not affect whether extraneous digits are allowed, which can be allowed with inet_aton_extraneous_digits
allow
- public IPv4AddressStringParameters.Builder allowBinary(boolean allow)
public IPv4AddressStringParameters.Builder allow_inet_aton_hex(boolean allow)
allow
- IPv4AddressStringParameters.inet_aton_hex
public IPv4AddressStringParameters.Builder allow_inet_aton_octal(boolean allow)
allow
- IPv4AddressStringParameters.inet_aton_octal
public IPv4AddressStringParameters.Builder allow_inet_aton_leading_zeros(boolean allow)
allow
- IPv4AddressStringParameters.inet_aton_leading_zeros
public IPv4AddressStringParameters.Builder allow_inet_aton_joined_segments(boolean allow)
allow
- IPv4AddressStringParameters.inet_aton_joinedSegments
public IPv4AddressStringParameters.Builder allow_inet_aton_single_segment_mask(boolean allow)
allow
- IPv4AddressStringParameters.inet_aton_single_segment_mask
public IPv4AddressStringParameters.Builder allow_inet_aton_extraneous_digits(boolean allow)
allow
- IPv4AddressStringParameters.inet_aton_extraneous_digits
public IPv4AddressStringParameters.Builder setNetwork(IPv4AddressNetwork network)
network
- if null, the default network will be usedIPv4AddressStringParameters.network
public IPv4AddressStringParameters.Builder setRangeOptions(AddressStringParameters.RangeParameters rangeOptions)
public IPv4AddressStringParameters.Builder allowPrefixesBeyondAddressSize(boolean allow)
public IPv4AddressStringParameters.Builder allowWildcardedSeparator(boolean allow)
public IPv4AddressStringParameters.Builder allowLeadingZeros(boolean allow)
public IPv4AddressStringParameters.Builder allowPrefixLengthLeadingZeros(boolean allow)
public IPv4AddressStringParameters.Builder allowUnlimitedLeadingZeros(boolean allow)
public IPv4AddressStringParameters toParams()