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.
Converts any given
IPAddress into a string representation in some format.- See Also:
-
Method Summary
-
Method Details
-
format
@Contract(pure=true) @NonNull @NonNull String format(@NonNull @NonNull inet.ipaddr.IPAddress ipAddress) Converts the givenIPAddressinto a string representation in some format.- Parameters:
ipAddress- The IP address that shall be formatted.- Returns:
- The IP address in the defined string format.
-