public class IPv4Address extends Host
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static IPv4Address |
fromInet4Adress(Inet4Address inet4Address)
Convert from @{java.net.Inet4Address}.
|
int |
hashCode() |
static IPv4Address |
parseIPv4Address(String input) |
String |
toHumanString() |
Inet4Address |
toInetAddress()
Convert to @{java.net.InetAddress}.
|
String |
toString() |
public static IPv4Address parseIPv4Address(String input) throws GalimatiasParseException
GalimatiasParseException
public Inet4Address toInetAddress() throws UnknownHostException
UnknownHostException
public static IPv4Address fromInet4Adress(Inet4Address inet4Address)
inet4Address
- The IPv4 address as a @{java.net.Inet4Address}.public String toHumanString()
toHumanString
in class Host
Copyright © 2013–2014. All rights reserved.