com.lukasfeiler.ipconfig
Class Int
java.lang.Object
com.lukasfeiler.ipconfig.Int
- Direct Known Subclasses:
- IPAddress, Netmask
- public abstract class Int
- extends java.lang.Object
|
Constructor Summary |
Int(int i)
|
Int(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Int
public Int(java.lang.String s)
throws IPConfigException
Int
public Int(int i)
validate
public void validate()
throws IPConfigException
- Throws:
IPConfigException
getOctets
public short[] getOctets()
intValue
public int intValue()
toBitString
public java.lang.String toBitString()
toString
public java.lang.String toString()
getOctet
public short getOctet(int octetNumber)
getBit
public boolean getBit(int bitNumber)
allBitsSet
public boolean allBitsSet()