|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lukasfeiler.util.Int
com.lukasfeiler.ipconfig.IPAddress
An IPv4 Address.
| Constructor Summary | |
IPAddress(int i)
Constructor that takes the IP address as an int value as an argument. |
|
IPAddress(java.lang.String s)
Constructor that takes the IP address in dottet-quad notation as an argument. |
|
| Method Summary | |
void |
matchesNetmask(Netmask netmask)
Returns whether this IP address matches the netmask passad as argument. |
| Methods inherited from class com.lukasfeiler.util.Int |
allBitsSet, getBit, getOctet, getOctets, intValue, toBitString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IPAddress(java.lang.String s)
throws IPConfigException,
InvalidIntOctetException
s - A string in the dottet-quad notation (e.g. 192.168.1.10).public IPAddress(int i)
| Method Detail |
public void matchesNetmask(Netmask netmask)
throws IPConfigException
IPConfigException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||