Movatterモバイル変換
[0]ホーム
Class StringTerm
java.lang.Object | +--javax.mail.search.SearchTerm | +--javax.mail.search.StringTerm
- Direct Known Subclasses:
- AddressStringTerm,BodyTerm,HeaderTerm,MessageIDTerm,SubjectTerm
- public abstract classStringTerm
- extendsSearchTerm
This class implements the match method for Strings. The current implementation provides only for substring matching. We could add comparisons (like strcmp ...).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pattern
protected java.lang.Stringpattern
ignoreCase
protected booleanignoreCase
StringTerm
protectedStringTerm(java.lang.String pattern)
StringTerm
protectedStringTerm(java.lang.String pattern, boolean ignoreCase)
getPattern
public java.lang.StringgetPattern()
- Return the string to match with.
getIgnoreCase
public booleangetIgnoreCase()
- Return true if we should ignore case when matching.
match
protected booleanmatch(java.lang.String s)
[8]ページ先頭