|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.InetMask
Constructor Summary | |
InetMask(java.lang.String textual)
Generate an IP mask from its textual representation. |
Method Summary | |
java.util.LinkedList |
filterLocal()
Use JDK 1.4 methods. |
boolean |
match(java.net.InetAddress a)
Test if an IP addr matches with the mask |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InetMask(java.lang.String textual) throws java.net.UnknownHostException
textual
- textual representation of the IP mask
java.net.UnknownHostException
- if exceptionMethod Detail |
public boolean match(java.net.InetAddress a)
a
- ip addr
public java.util.LinkedList filterLocal()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |