java.lang.Object
inet.ipaddr.AddressStringParameters.BuilderBase
inet.ipaddr.IPAddressStringParameters.Builder
- Enclosing class:
IPAddressStringParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallow_inet_aton
(boolean allow) allowAll
(boolean allow) allowEmpty
(boolean allow) allowIPv4
(boolean allow) allowIPv6
(boolean allow) allowMask
(boolean allow) allowPrefix
(boolean allow) allowPrefixOnly
(boolean allow) allowSingleSegment
(boolean allow) allowWildcardedSeparator
(boolean allow) Get the sub-builder for setting IPv4 parameters.Get the sub-builder for setting IPv6 parameters.setEmptyAsLoopback
(boolean bool) void
Replaces all existing IPv4 parameters with the ones in the supplied parameters instance.void
Replaces all existing IPv6 parameters with the ones in the supplied parameters instance.setRangeOptions
(AddressStringParameters.RangeParameters rangeOptions) toParams()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getParentBuilder
-
allowEmpty
- Overrides:
allowEmpty
in classAddressStringParameters.BuilderBase
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
allowSingleSegment
- Overrides:
allowSingleSegment
in classAddressStringParameters.BuilderBase
- Parameters:
allow
-- Returns:
- the builder
- See Also:
-
setEmptyAsLoopback
-
allowPrefix
-
allowMask
-
allowPrefixOnly
-
allowAll
- Overrides:
allowAll
in classAddressStringParameters.BuilderBase
-
allowIPv4
-
allowIPv6
-
allowWildcardedSeparator
-
setRangeOptions
public IPAddressStringParameters.Builder setRangeOptions(AddressStringParameters.RangeParameters rangeOptions) -
allow_inet_aton
-
setIPv6AddressParameters
Replaces all existing IPv6 parameters with the ones in the supplied parameters instance. -
getIPv6AddressParametersBuilder
Get the sub-builder for setting IPv6 parameters.- Returns:
- the IPv6 builder
-
setIPv4AddressParameters
Replaces all existing IPv4 parameters with the ones in the supplied parameters instance. -
getIPv4AddressParametersBuilder
Get the sub-builder for setting IPv4 parameters.- Returns:
- the IPv4 builder
-
toParams
-