com.quadrique.jbuildingblocks.core.io.socket.client
Class JbbDnsHandler

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.io.socket.client.JbbDnsHandler

public class JbbDnsHandler
extends Object

Version:
1.0.0
Author:
Hervé Rivere

Constructor Summary
JbbDnsHandler()
           
 
Method Summary
 InetAddress getHostByName(String zStringAddress)
           
static JbbDnsHandler getInstance()
          This method returns an instance of the DnsHandler class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbDnsHandler

public JbbDnsHandler()
Method Detail

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.