Package org.drasyl.util
Class InetAddressUtil
- java.lang.Object
-
- org.drasyl.util.InetAddressUtil
-
public final class InetAddressUtil extends Object
Utility class for operations onInetAddress
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isInetAddress(String address)
Returnstrue
ifaddress
is a valid.
-
-
-
Method Detail
-
isInetAddress
public static boolean isInetAddress(String address)
Returnstrue
ifaddress
is a valid. Otherwisefalse
is returned.- Parameters:
address
- the string to be checked- Returns:
true
ifaddress
is a valid. Otherwisefalse
is returned
-
-