Module inet.ipaddr

Interface IPv4Address.IPv4AddressConverter

All Known Subinterfaces:
IPAddressConverter
All Known Implementing Classes:
IPAddressConverter.DefaultAddressConverter
Enclosing class:
IPv4Address

public static interface IPv4Address.IPv4AddressConverter
Author:
sfoley
  • Method Summary

    Modifier and Type
    Method
    Description
    toIPv4(IPAddress address)
    If the given address is IPv4, or can be converted to IPv4, returns that IPv4Address.
  • Method Details

    • toIPv4

      IPv4Address toIPv4(IPAddress address)
      If the given address is IPv4, or can be converted to IPv4, returns that IPv4Address. Otherwise, returns null.