com.quadrique.jbuildingblocks.core.io.socket.client
Class JbbDnsHandler
java.lang.Object
com.quadrique.jbuildingblocks.core.io.socket.client.JbbDnsHandler
public class JbbDnsHandler
- extends Object
- Version:
- 1.0.0
- Author:
- Hervé Rivere
JbbDnsHandler
public JbbDnsHandler()
getInstance
public static JbbDnsHandler getInstance()
- This method returns an instance of the DnsHandler class. If there has
been already one instantiation, the same instance is returned so that
it can be shared accross the application.
A typical usage would be:
DnsHandler.getInstance().xxx()
or
DnsHandler lDnsHandler = DnsHandler.getInstance();
getHostByName
public InetAddress getHostByName(String zStringAddress)
throws Exception
- Parameters:
zStringAddress -
- Returns:
- inetAddress
- Throws:
Exception
Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.