|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.dns.DNSSunHandler
public class DNSSunHandler
A DNS handler using the standard java packages.
| Constructor Summary | |
|---|---|
DNSSunHandler()
|
|
| Method Summary | |
|---|---|
InetAddress |
getInetAddress(String host)
Look up an internet address. |
InetAddress |
getInetAddress(URL url)
Look up an internet address. |
void |
setup(SProperties config)
Do any neccessary setup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DNSSunHandler()
| Method Detail |
|---|
public void setup(SProperties config)
DNSHandler
setup in interface DNSHandlerconfig - the properties for this handler
public InetAddress getInetAddress(URL url)
throws UnknownHostException
DNSHandler
getInetAddress in interface DNSHandlerurl - the url to get the host from
UnknownHostException
public InetAddress getInetAddress(String host)
throws UnknownHostException
DNSHandler
getInetAddress in interface DNSHandlerhost - the name of the host to lookup
UnknownHostException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||