Class InetAddressStringLookup

java.lang.Object
org.apache.commons.text.lookup.AbstractStringLookup
org.apache.commons.text.lookup.InetAddressStringLookup
All Implemented Interfaces:
Function<String,String>, UnaryOperator<String>, StringLookup

final class InetAddressStringLookup extends AbstractStringLookup
Looks up keys related to an
invalid reference
InetAddresse
.
  • local host: host name, canonical host name, host address.

The lookup keys are:

  • name: for the local host name, for example EXAMPLE.
  • canonical-name: for the local canonical host name, for example EXAMPLE.apache.org.
  • address: for the local host address, for example 192.168.56.1.

Public access is through StringLookupFactory.

Since:
1.3
See Also:
  • Field Details

  • Constructor Details

    • InetAddressStringLookup

      private InetAddressStringLookup(org.apache.commons.lang3.function.FailableSupplier<InetAddress, UnknownHostException> inetAddressSupplier)
      No need to build instances for now.
  • Method Details