| java.lang.Object org.archive.util.DNSJavaUtil
DNSJavaUtil | public class DNSJavaUtil (Code) | | Utility methods based on DNSJava.
Use these utilities to avoid having to use the native InetAddress lookup.
author: stack version: $Date: 2007-01-06 05:17:35 +0000 (Sat, 06 Jan 2007) $, $Revision: 4837 $ |
Method Summary | |
public static InetAddress | getHostAddress(String host) Return an InetAddress for passed host .
If passed host is an IPv4 address, we'll not do a DNSJava
lookup.
Parameters: host - Host to lookup in dnsjava. |
getHostAddress | public static InetAddress getHostAddress(String host)(Code) | | Return an InetAddress for passed host .
If passed host is an IPv4 address, we'll not do a DNSJava
lookup.
Parameters: host - Host to lookup in dnsjava. A host address or null if not found. |
|
|