|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E56472-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.octetstring.vde.IPAddress
public abstract class IPAddress
Constructor Summary | |
---|---|
IPAddress() |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object addr) This method compares each octet in this IPAddress with the specified object for order. |
static IPAddress |
getByAddress(java.lang.String addr) This method creates an IPAddress instance based on the provided textual representation of IP address. |
static void |
getByAddressOrRange(java.lang.String addr) This method throw a RuntimeExecption if addr doesn't represent an IPV4 address or an IPV4 addresses RANGE |
java.lang.String |
getHostAddress() |
int |
getIPFamily() |
boolean |
isSubnetAddress() |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IPAddress()
Method Detail |
---|
public static IPAddress getByAddress(java.lang.String addr)
host
- textual representation of IP address.public static void getByAddressOrRange(java.lang.String addr)
addr
- textual representation of IP address or IP addresses RANGE.public int compareTo(java.lang.Object addr)
compareTo
in interface java.lang.Comparable
public int getIPFamily()
public java.lang.String getHostAddress()
public boolean isSubnetAddress()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E56472-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |