|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIPManipulator
public class IPManipulator
Constructor Summary | |
---|---|
IPManipulator()
|
Method Summary | |
---|---|
static int |
commonMask(int startIp,
int endIp)
|
static java.lang.String |
int2ip(int i)
Translate a 32-bits integer to an IP |
static int |
ip2int(java.lang.String ip)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IPManipulator()
Method Detail |
---|
public static java.lang.String int2ip(int i)
i
-
public static int ip2int(java.lang.String ip)
ip
- in dot form
public static int commonMask(int startIp, int endIp)
startIp
- endIp
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |