|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.util.HostUtil
public final class HostUtil
Host/Inet utilities.
| Method Summary | |
|---|---|
static java.util.ArrayList<java.net.InetAddress> |
getLocalAddresses()
|
static java.lang.String |
getLocalHostName()
|
static java.util.ArrayList<java.net.NetworkInterface> |
getNetworkInterfaces()
|
static boolean |
isLinkLocalNetwork(java.net.InetAddress addr)
|
static boolean |
isPrivateNetwork(java.net.InetAddress addr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getLocalHostName()
public static boolean isPrivateNetwork(java.net.InetAddress addr)
public static boolean isLinkLocalNetwork(java.net.InetAddress addr)
public static java.util.ArrayList<java.net.InetAddress> getLocalAddresses()
public static java.util.ArrayList<java.net.NetworkInterface> getNetworkInterfaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||