org.apache.james.mailboxmanager
Interface MessageResult.FetchGroup.PartContentDescriptor

All Known Implementing Classes:
PartContentDescriptorImpl
Enclosing interface:
MessageResult.FetchGroup

public static interface MessageResult.FetchGroup.PartContentDescriptor

Describes the contents to be fetched for a mail part. All implementations MUST implement equals. Two implementations are equal if and only if their paths are equal.


Method Summary
 int content()
          Contents to be fetched.
 MessageResult.MimePath path()
          Path describing the part to be fetched.
 

Method Detail

content

int content()
Contents to be fetched. Composed bitwise.

Returns:
bitwise descripion
See Also:
MessageResult.FetchGroup.MINIMAL, #MIME_MESSAGE, #KEY, MessageResult.FetchGroup.SIZE, MessageResult.FetchGroup.INTERNAL_DATE, MessageResult.FetchGroup.FLAGS, MessageResult.FetchGroup.HEADERS, MessageResult.FetchGroup.FULL_CONTENT, MessageResult.FetchGroup.BODY_CONTENT

path

MessageResult.MimePath path()
Path describing the part to be fetched.

Returns:
path describing the part, not null


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.