javax.mail.search
Class SizeTerm
- Serializable
public final class SizeTerm
This class implements comparisons for Message sizes.
SizeTerm(int comparison, int size)- Constructor.
|
boolean | equals(Object other)- Equality comparison.
|
boolean | match(Message msg)- The match method.
|
SizeTerm
public SizeTerm(int comparison,
int size) Constructor.
comparison - the Comparison typesize - the size
match
public boolean match(Message msg)
The match method.
- match in interface SearchTerm
msg - the size comparator is applied to this Message's size
- true if the size is equal, otherwise false
© Copyright 2003, 2004
The Free Software Foundation, All rights reserved