|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNSHandler
A DNS handler.
Method Summary | |
---|---|
java.net.InetAddress |
getInetAddress(java.lang.String host)
Look up an internet address. |
java.net.InetAddress |
getInetAddress(java.net.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 handlerjava.net.InetAddress getInetAddress(java.net.URL url) throws java.net.UnknownHostException
url
- the url to get the host from
java.net.UnknownHostException
- if the lookup failsjava.net.InetAddress getInetAddress(java.lang.String host) throws java.net.UnknownHostException
host
- the name of the host to lookup
java.net.UnknownHostException
- if the lookup fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |