org.apache.geronimo.javamail.store.imap.connection
Class IMAPBodySection
java.lang.Object
org.apache.geronimo.javamail.store.imap.connection.IMAPBodySection
public class IMAPBodySection
- extends Object
Class to represent a FETCH response BODY segment qualifier. The qualifier is
of the form "BODY[]<>". The optional section qualifier is
a "." separated part specifiers. A part specifier is either a number, or
one of the tokens HEADER, HEADER.FIELD, HEADER.FIELD.NOT, MIME, and TEXT.
The partial specification is in the form "".
- Version:
- $Rev: 594520 $ $Date: 2007-11-13 07:57:39 -0500 (Tue, 13 Nov 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BODY
public static final int BODY
- See Also:
- Constant Field Values
HEADERS
public static final int HEADERS
- See Also:
- Constant Field Values
HEADERSUBSET
public static final int HEADERSUBSET
- See Also:
- Constant Field Values
MIME
public static final int MIME
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
partNumber
public String partNumber
sectionName
public String sectionName
section
public int section
start
public int start
length
public int length
headers
public List headers
IMAPBodySection
public IMAPBodySection(int section)
- Construct a simple-toplevel BodySection tag.
- Parameters:
section
- The section identifier.
IMAPBodySection
public IMAPBodySection(IMAPResponseTokenizer source)
throws MessagingException
- construct a BodySegment descriptor from the FETCH returned name.
- Parameters:
name
- The name code, which may be encoded with a section identifier and
substring qualifiers.
- Throws:
MessagingException
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.