Java javax.mail Flags fields, constructors, methods, implement or subclass

Example usage for Java javax.mail Flags fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.mail Flags.

The text is from its open source code.

Constructor

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.

Method

voidadd(Flag flag)
Add the specified system flag to this Flags object.
voidadd(String flag)
Add the specified user flag to this Flags object.
voidadd(Flags f)
Add all the flags in the given Flags object to this Flags object.
booleancontains(Flag flag)
Check whether the specified system flag is present in this Flags object.
booleancontains(String flag)
Check whether the specified user flag is present in this Flags object.
booleancontains(Flags f)
Check whether all the flags in the specified Flags object are present in this Flags object.
booleanequals(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.
voidremove(Flag flag)
Remove the specified system flag from this Flags object.
voidremove(String flag)
Remove the specified user flag from this Flags object.
voidremove(Flags f)
Remove all flags in the given Flags object from this Flags object.