javax.mail.search
Class StringTerm
- Serializable
public abstract class StringTerm
A comparison of string values.
protected boolean | ignoreCase - Whether to ignore case during comparison.
|
protected String | pattern - The pattern to match.
|
boolean | equals(Object other)
|
boolean | getIgnoreCase() - Indicates whether to ignore case during comparison.
|
String | getPattern() - Returns the pattern to match.
|
int | hashCode()
|
protected boolean | match(String s) - Returns true if the specified pattern is a substring of the given string.
|
ignoreCase
protected boolean ignoreCase
Whether to ignore case during comparison.
pattern
protected String pattern
The pattern to match.
StringTerm
protected StringTerm(String pattern)
StringTerm
protected StringTerm(String pattern,
boolean ignoreCase)
equals
public boolean equals(Object other)
getIgnoreCase
public boolean getIgnoreCase()
Indicates whether to ignore case during comparison.
getPattern
public String getPattern()
Returns the pattern to match.
hashCode
public int hashCode()
match
protected boolean match(String s)
Returns true if the specified pattern is a substring of the given string.
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved