org.objectweb.carol.cmi
Class InetMask

java.lang.Object
  |
  +--org.objectweb.carol.cmi.InetMask

public class InetMask
extends java.lang.Object

Author:
nieuviar

Constructor Summary
InetMask(java.lang.String textual)
          Generate an IP mask from its textual representation.
 
Method Summary
 boolean match(java.net.InetAddress a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InetMask

public InetMask(java.lang.String textual)
         throws java.net.UnknownHostException
Generate an IP mask from its textual representation. The special case of a single address is taken into account.

Method Detail

match

public boolean match(java.net.InetAddress a)