|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasen.net.JasenInetAddressResolver
Simple implementation of an InetAddress resolver. This class uses a VERY rudamentary caching system
This is the default InetAddress resolver, however if full caching etc is required, it is recommended that an alternate resolver be used
Constructor Summary | |
JasenInetAddressResolver()
|
Method Summary | |
InetAddress[] |
getAllByName(String host)
Gets all InetAddress records associated with the host name or IP address provided |
InetAddress |
getByName(String host)
Gets the InetAddress associated with the host name or IP address provided |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JasenInetAddressResolver()
Method Detail |
public InetAddress getByName(String host) throws UnknownHostException
InetAddressResolver
getByName
in interface InetAddressResolver
host
-
UnknownHostException
public InetAddress[] getAllByName(String host) throws UnknownHostException
InetAddressResolver
getAllByName
in interface InetAddressResolver
host
-
UnknownHostException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |