Package org.drasyl.util
Class InetAddressUtil
java.lang.Object
org.drasyl.util.InetAddressUtil
Utility class for operations on
InetAddress
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isInetAddress
(String address) Returnstrue
ifaddress
is a valid.
-
Method Details
-
isInetAddress
Returnstrue
ifaddress
is a valid. Otherwisefalse
is returned.- Parameters:
address
- the string to be checked- Returns:
true
ifaddress
is a valid. Otherwisefalse
is returned
-