|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.utils.net.AddressUtil
public final class AddressUtil
Utility for getting info on the local ip address.
Field Summary | |
---|---|
static String |
DEFAULT_INTERNET_ADDRESS_AS_STRING
the default returned string value for the whole ip |
static String |
DEFAULT_INTERNET_ADDRESS_OCTET_AS_STRING
the default returned string value for the last octet |
Method Summary | |
---|---|
static String |
obtainFinalThreeDigitsOfAddressAsString()
This method looks up the host machines internet address, parses out the last octet and formats that number as a 3 character string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_INTERNET_ADDRESS_OCTET_AS_STRING
public static final String DEFAULT_INTERNET_ADDRESS_AS_STRING
Method Detail |
---|
public static String obtainFinalThreeDigitsOfAddressAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |