Example usage for Java javax.mail Flags fields, constructors, methods, implement or subclass
The text is from its open source code.
Flags(Flags flags) Construct a Flags object initialized with the given flags. | |
Flags(Flag flag) Construct a Flags object initialized with the given system flag. | |
Flags(String flag) Construct a Flags object initialized with the given user flag. | |
Flags() Construct an empty Flags object. |
void | add(Flag flag) Add the specified system flag to this Flags object. |
void | add(String flag) Add the specified user flag to this Flags object. |
void | add(Flags f) Add all the flags in the given Flags object to this Flags object. |
boolean | contains(Flag flag) Check whether the specified system flag is present in this Flags object. |
boolean | contains(String flag) Check whether the specified user flag is present in this Flags object. |
boolean | contains(Flags f) Check whether all the flags in the specified Flags object are present in this Flags object. |
boolean | equals(Object obj) Check whether the two Flags objects are equal. |
Flag[] | getSystemFlags() Return all the system flags in this Flags object. |
String[] | getUserFlags() Return all the user flags in this Flags object. |
void | remove(Flag flag) Remove the specified system flag from this Flags object. |
void | remove(String flag) Remove the specified user flag from this Flags object. |
void | remove(Flags f) Remove all flags in the given Flags object from this Flags object. |