Interface IpAddressFormatter

All Known Implementing Classes:
CustomIpAddressFormatter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IpAddressFormatter
Converts any given IPAddress into a string representation in some format.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    format(@NonNull inet.ipaddr.IPAddress ipAddress)
    Converts the given IPAddress into a string representation in some format.
  • Method Details

    • format

      @Contract(pure=true) @NonNull @NonNull String format(@NonNull @NonNull inet.ipaddr.IPAddress ipAddress)
      Converts the given IPAddress into a string representation in some format.
      Parameters:
      ipAddress - The IP address that shall be formatted.
      Returns:
      The IP address in the defined string format.