|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrabbit.util.IPAccess
A class to handle access to ip ranges.
| Constructor Summary | |
IPAccess(java.net.InetAddress lowip,
java.net.InetAddress highip)
Create a new IPAccess with given ip-range. |
|
| Method Summary | |
boolean |
inrange(java.net.InetAddress ia)
check if a given ip is in this accessrange |
java.lang.String |
toString()
get the string representation of this access. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IPAccess(java.net.InetAddress lowip,
java.net.InetAddress highip)
lowip - the lowest ip in the rangehighip - the highest ip in the range| Method Detail |
public boolean inrange(java.net.InetAddress ia)
ia - the ip we are testing.
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||