|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.comparators.AsciiNumeric
public class AsciiNumeric
Class AsciiNumeric implements the EQUALITY operation of the i;ascii-numeric comparator as defined by RFC2244, section 3.4.
Constructor Summary | |
---|---|
AsciiNumeric()
Constructor for AsciiNumeric. |
Method Summary | |
---|---|
protected java.lang.String |
computeCompareString(java.lang.String string)
Method getCompareString answers a String in which all
non-digit characters are translated to the character 0xff. |
boolean |
contains(java.lang.String container,
java.lang.String content)
Unsupported, see RFC4790. |
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)
Unsupported operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsciiNumeric()
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)
protected java.lang.String computeCompareString(java.lang.String string)
String
in which all
non-digit characters are translated to the character 0xff.
string
-
public boolean contains(java.lang.String container, java.lang.String content) throws FeatureException
contains
in interface Contains
FeatureException
- when substring is unsupportedContains.contains(String, String)
public boolean matches(java.lang.String string, java.lang.String glob) throws FeatureException
:contains
.
RFC4790 states
that substring matches are not supported.
matches
in interface Matches
FeatureException
Matches.matches(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |