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