java.lang.Object
inet.ipaddr.ipv4.IPv4AddressStringParameters.Builder
- Enclosing class:
IPv4AddressStringParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallow_inet_aton
(boolean allow) Allows joined segments, resulting in just 2, 3 or 4 segments.allow_inet_aton_extraneous_digits
(boolean allow) allow_inet_aton_hex
(boolean allow) allow_inet_aton_joined_segments
(boolean allow) allow_inet_aton_leading_zeros
(boolean allow) allow_inet_aton_octal
(boolean allow) allow_inet_aton_single_segment_mask
(boolean allow) allowBinary
(boolean allow) allowLeadingZeros
(boolean allow) allowPrefixesBeyondAddressSize
(boolean allow) allowPrefixLengthLeadingZeros
(boolean allow) allowUnlimitedLeadingZeros
(boolean allow) allowWildcardedSeparator
(boolean allow) setNetwork
(IPv4AddressNetwork network) setRangeOptions
(AddressStringParameters.RangeParameters rangeOptions) toParams()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getEmbeddedIPv4AddressParentBuilder
-
allow_inet_aton
Allows joined segments, resulting in just 2, 3 or 4 segments. Allows octal or hex segments. Allows an unlimited number of leading zeros. To allow just a single segment, useIPAddressStringParameters.Builder.allowSingleSegment(boolean)
This does not affect whether extraneous digits are allowed, which can be allowed withinet_aton_extraneous_digits
- Parameters:
allow
-- Returns:
-
allowBinary
-
allow_inet_aton_hex
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
allow_inet_aton_octal
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
allow_inet_aton_leading_zeros
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
allow_inet_aton_joined_segments
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
allow_inet_aton_single_segment_mask
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
allow_inet_aton_extraneous_digits
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
setNetwork
- Parameters:
network
- if null, the default network will be used- Returns:
- the builder
- See Also:
-
setRangeOptions
public IPv4AddressStringParameters.Builder setRangeOptions(AddressStringParameters.RangeParameters rangeOptions) -
allowPrefixesBeyondAddressSize
-
allowWildcardedSeparator
-
allowLeadingZeros
-
allowPrefixLengthLeadingZeros
-
allowUnlimitedLeadingZeros
-
toParams
-