|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.utils.SystemUtils
public class SystemUtils
Miscellanous utilities for getting system resources.
Constructor Summary | |
---|---|
SystemUtils()
|
Method Summary | |
---|---|
static java.lang.String |
getLocalHostName()
Get the first hostname available for this machine, or "localhost" if none are available. |
static java.lang.String |
getLocalIP()
Looks up the IP number of the local host. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemUtils()
Method Detail |
---|
public static java.lang.String getLocalIP()
public static java.lang.String getLocalHostName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |