Modifier and Type | Method and Description |
---|---|
static IPAddressFormatter.Builder<IPAddress<?>> |
IPAddressFormatter.anyVersion()
Returns a new builder for formatters for printing and parsing IP addresses of any version.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.enclosingInBrackets()
Specifies that created formatters will enclose formatted IPv6 addresses in brackets.
|
static IPAddressFormatter.Builder<IPv6Address> |
IPAddressFormatter.ipv6()
Returns a new builder for formatters for printing and parsing IPv6 addresses.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.notEnclosingInBrackets()
Specifies that created formatters will not enclose formatted IPv6 addresses in brackets.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.toLowerCase()
Specifies that created formatters will format IPv6 addresses in lower case.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.toUpperCase()
Specifies that created formatters will format IPv6 addresses in upper case.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.withDefaults()
Specifies that the default settings should be restored.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.withIPv4End()
Specifies that created formatters will format the last
4 bytes of IPv6 addresses as an IPv4 address. |
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.withLongStyle()
Specifies that created formatters will format IPv6 addresses in long style.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.withMediumStyle()
Specifies that created formatters will format IPv6 addresses in medium style.
|
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.withoutIPv4End()
Specifies that created formatters will format the last
4 bytes of IPv6 addresses as two hextets, not as an IPv4 address. |
IPAddressFormatter.Builder<IP> |
IPAddressFormatter.Builder.withShortStyle()
Specifies that created formatters will format IPv6 addresses in short style.
|
Modifier and Type | Method and Description |
---|---|
<R> R |
IPAddressFormatter.Builder.transform(Function<? super IPAddressFormatter.Builder<?>,? extends R> f)
This method allows the application of a function to this builder object.
|
Copyright © 2019–2023. All rights reserved.