org.apache.jsieve.comparators
Interface Matches

All Known Subinterfaces:
Comparator
All Known Implementing Classes:
AsciiCasemap, AsciiNumeric, Octet

public interface Matches

Interface Matches defines the method signatures for matches comparators.


Method Summary
 boolean matches(java.lang.String string, java.lang.String glob)
          Method matches answers a boolean indicating if parameter string1 matches the pattern in parameter glob using the matching rules defind by the implementation.
 

Method Detail

matches

boolean matches(java.lang.String string,
                java.lang.String glob)
                throws SieveException
Method matches answers a boolean indicating if parameter string1 matches the pattern in parameter glob using the matching rules defind by the implementation.

Parameters:
string -
glob -
Returns:
boolean
Throws:
SieveException


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.