java.lang.Object | +--javax.mail.FlagsAll Implemented Interfaces:
Flags() Construct an empty Flags object. |
Construct a Flags object initialized with the given flags. |
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. |
void | add(Flags.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 all the flags in the given Flags object to this Flags object. |
Object | clone() Returns a clone of this Flags object. |
boolean | contains(Flags.Flag flag) Indicates whether the specified system flag is present in this Flags object. |
boolean | contains(String flag) Indicates whether the specified user flag is present in this Flags object. |
boolean | Indicates whether all the flags in the specified Flags object are present in this Flags object. |
boolean | equals(Object other) Indicates whether the two Flags objects are equal. |
Return all the system flags in this Flags object. | |
String[] | Return all the user flags in this Flags object. |
int | hashCode() Returns a hash code for this object. |
void | remove(Flags.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 all flags in the given Flags object from this Flags object. |
public Flags()
public Flags(String flag)
public Flags(Flags flags)
public Flags(Flags.Flag flag)
public void add(String flag)
public void add(Flags flags)
public void add(Flags.Flag flag)
public Object clone()
public boolean contains(String flag)
public boolean contains(Flags flags)
public boolean contains(Flags.Flag flag)
public boolean equals(Object other)
public Flags.Flag[] getSystemFlags()
public String[] getUserFlags()
public int hashCode()
public void remove(String flag)
public void remove(Flags flags)
public void remove(Flags.Flag flag)