|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.plumtree.uiinfrastructure.util.PlatformDNS
public class PlatformDNS
Uses java.net classes to determine the localhost's machien name and ip address Also does IP address comparisons by octet
Constructor Summary | |
---|---|
PlatformDNS()
|
Method Summary | |
---|---|
java.lang.String |
getLocalHostname()
Gets the local host's fully qualified hostname |
byte[] |
getLocalIPAddr()
Gets the local host's IP address in byte[] format |
java.lang.String |
getLocalIPAddrAsString()
Formats the ip address of the localhost as a string |
boolean |
init()
Get the localhost name and ip address |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlatformDNS()
Method Detail |
---|
public boolean init()
public java.lang.String getLocalHostname()
public byte[] getLocalIPAddr()
public java.lang.String getLocalIPAddrAsString()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |