public class FetchGroupImpl extends Object implements org.apache.james.mailbox.model.MessageResult.FetchGroup
| Modifier and Type | Field and Description |
|---|---|
static org.apache.james.mailbox.model.MessageResult.FetchGroup |
BODY_CONTENT |
static org.apache.james.mailbox.model.MessageResult.FetchGroup |
FULL_CONTENT |
static org.apache.james.mailbox.model.MessageResult.FetchGroup |
HEADERS |
static org.apache.james.mailbox.model.MessageResult.FetchGroup |
MINIMAL |
| Constructor and Description |
|---|
FetchGroupImpl() |
FetchGroupImpl(int content) |
FetchGroupImpl(int content,
Set<org.apache.james.mailbox.model.MessageResult.FetchGroup.PartContentDescriptor> partContentDescriptors) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPartContent(org.apache.james.mailbox.model.MessageResult.MimePath path,
int content)
Adds content for the particular part.
|
int |
content() |
Set<org.apache.james.mailbox.model.MessageResult.FetchGroup.PartContentDescriptor> |
getPartContentDescriptors()
Gets content descriptors for the parts to be fetched.
|
void |
or(int content) |
String |
toString() |
public static final org.apache.james.mailbox.model.MessageResult.FetchGroup MINIMAL
public static final org.apache.james.mailbox.model.MessageResult.FetchGroup HEADERS
public static final org.apache.james.mailbox.model.MessageResult.FetchGroup FULL_CONTENT
public static final org.apache.james.mailbox.model.MessageResult.FetchGroup BODY_CONTENT
public FetchGroupImpl()
public FetchGroupImpl(int content)
public FetchGroupImpl(int content,
Set<org.apache.james.mailbox.model.MessageResult.FetchGroup.PartContentDescriptor> partContentDescriptors)
public int content()
content in interface org.apache.james.mailbox.model.MessageResult.FetchGrouppublic void or(int content)
public Set<org.apache.james.mailbox.model.MessageResult.FetchGroup.PartContentDescriptor> getPartContentDescriptors()
getPartContentDescriptors in interface org.apache.james.mailbox.model.MessageResult.FetchGroupSet of org.apache.james.mailbox.MessageResult.FetchGroup.PartContentDescriptor,
possibly nullpublic void addPartContent(org.apache.james.mailbox.model.MessageResult.MimePath path,
int content)
path - MimePath, not nullcontent - bitwise content constantCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.