|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNSHandler
A DNS handler.
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. |
Method Detail |
---|
void setup(SProperties config)
config
- the properties for this handlerInetAddress getInetAddress(URL url) throws UnknownHostException
url
- the url to get the host from
UnknownHostException
InetAddress getInetAddress(String host) throws UnknownHostException
host
- the name of the host to lookup
UnknownHostException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |