2 package org
.de
.metux
.ip
;
4 import java
.net
.InetAddress
;
5 import java
.net
.UnknownHostException
;
6 import org
.de
.metux
.util
.StrSplit
;
10 public static String
getIP_str(String name
)
11 throws UnknownHostException
13 // String str = InetAddress.getByName(name).toString();
14 // System.err.println("getIP_str:: "+str);
16 return StrSplit
.split(
17 InetAddress
.getByName(name
).toString(),