Movatterモバイル変換


[0]ホーム

URL:


         


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 ...).


ignoreCase
           
pattern
           
 
StringTerm(java.lang.String pattern)
           
StringTerm(java.lang.String pattern, boolean ignoreCase)
           
 
getIgnoreCase()
          Return true if we should ignore case when matching.
getPattern()
          Return the string to match with.
match(java.lang.String s)
           
 
Methods inherited from class javax.mail.search.SearchTerm
match
 
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]ページ先頭

©2009-2025 Movatter.jp