|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.util.DNSJavaUtil
public class DNSJavaUtil
Utility methods based on DNSJava. Use these utilities to avoid having to use the native InetAddress lookup.
| Method Summary | |
|---|---|
static java.net.InetAddress |
getHostAddress(java.lang.String host)
Return an InetAddress for passed host. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.net.InetAddress getHostAddress(java.lang.String host)
host.
If passed host is an IPv4 address, we'll not do a DNSJava
lookup.
host - Host to lookup in dnsjava.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||