org.polliwog.filters
Class IPAddressRule
java.lang.Object
org.polliwog.filters.Rule
org.polliwog.filters.IPAddressRule
- All Implemented Interfaces:
- com.gentlyweb.xml.JDOMXmlOutputter
public class IPAddressRule
- extends Rule
This class currently doesn't work because one of the octets from the InetAddress.getAddress
insists on being -127... grr... So for now don't use a ipaddr rule... The logic is correct
but it's not right... also, the performance will be pretty poor having to do this over every line...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IPAddressRule
public IPAddressRule(org.jdom.Element root)
throws org.jdom.JDOMException
- Throws:
org.jdom.JDOMException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
match
public boolean match(Visit v)
throws WeblogException
- Specified by:
match
in class Rule
- Throws:
WeblogException
match
public boolean match(Hit h)
throws WeblogException
- Specified by:
match
in class Rule
- Throws:
WeblogException
Copyright © 2007 Gary Bentley. All Rights Reserved.