|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.comparators.Octet
public class Octet
Class Octet implements the EQUALITY operation of the i;octet comparator as defined by RFC2244, section 3.4 - "For the equality function, two strings are equal if they are the same length and contain the same octets in the same order. NIL is equal only to itself".
Constructor Summary | |
---|---|
Octet()
Constructor for Octet. |
Method Summary | |
---|---|
boolean |
contains(java.lang.String container,
java.lang.String content)
Method contains answers a boolean indicating if parameter
container contains parameter content using
the comparison rules defind by the implementation. |
boolean |
equals(java.lang.String string1,
java.lang.String string2)
Method equals answers a boolean indicating if parameter
string1 is equal to parameter string2 using
the comparison rules defind by the implementation. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Octet()
Method Detail |
---|
public boolean equals(java.lang.String string1, java.lang.String string2)
Equals
boolean
indicating if parameter
string1
is equal to parameter string2
using
the comparison rules defind by the implementation.
equals
in interface Equals
Equals.equals(String, String)
public boolean contains(java.lang.String container, java.lang.String content)
Contains
boolean
indicating if parameter
container
contains parameter content
using
the comparison rules defind by the implementation.
contains
in interface Contains
Contains.contains(String, String)
public boolean matches(java.lang.String string, java.lang.String glob) throws SievePatternException
Matches
boolean
indicating if parameter
string1
matches the pattern in parameter glob
using the matching rules defind by the implementation.
matches
in interface Matches
SievePatternException
Matches.matches(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |