Package org.drasyl.util
Class InetSocketAddressUtil
java.lang.Object
org.drasyl.util.InetSocketAddressUtil
Utility class for operations on
URL
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic InetSocketAddress
Convert aString
to aInetSocketAddress
.static String
Convert aInetSocketAddress
to aString
.
-
Method Details
-
socketAddressFromString
- Parameters:
s
- address to deserialize- Returns:
InetSocketAddress
representation ofs
-
socketAddressToString
- Parameters:
s
- address to deserialize- Returns:
String
representation ofs
-