com.hs.mail.imap.message
Class BodyFetchItem
java.lang.Object
javax.mail.FetchProfile.Item
com.hs.mail.imap.message.BodyFetchItem
public class BodyFetchItem
- extends javax.mail.FetchProfile.Item
- Since:
- Jan 29, 2010
- Author:
- Won Chul Doh
Field Summary |
static int |
CONTENT
Entire message including the header |
static int |
HEADER
|
static int |
HEADER_FIELDS
|
static int |
HEADER_FIELDS_NOT
|
static int |
MIME
[RFC-2045] header for the part |
static int |
TEXT
Text body of the message, omitting the [RFC-2822] header |
Fields inherited from class javax.mail.FetchProfile.Item |
CONTENT_INFO, ENVELOPE, FLAGS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_FIELDS_NOT
public static final int HEADER_FIELDS_NOT
- See Also:
- Constant Field Values
HEADER_FIELDS
public static final int HEADER_FIELDS
- See Also:
- Constant Field Values
HEADER
public static final int HEADER
- See Also:
- Constant Field Values
TEXT
public static final int TEXT
- Text body of the message, omitting the [RFC-2822] header
- See Also:
- Constant Field Values
MIME
public static final int MIME
- [RFC-2045] header for the part
- See Also:
- Constant Field Values
CONTENT
public static final int CONTENT
- Entire message including the header
- See Also:
- Constant Field Values
BodyFetchItem
public BodyFetchItem(String name,
boolean peek)
BodyFetchItem
public BodyFetchItem(String name,
boolean peek,
int sectionType)
getName
public String getName()
setName
public void setName(String name)
setPeek
public void setPeek(boolean peek)
isPeek
public boolean isPeek()
setSectionType
public void setSectionType(int sectionType)
getSectionType
public int getSectionType()
setHeaders
public void setHeaders(String[] headers)
getHeaders
public String[] getHeaders()
addPath
public void addPath(int part)
getPath
public int[] getPath()
setFirstOctet
public void setFirstOctet(long firstOctet)
getFirstOctet
public long getFirstOctet()
setNumberOfOctets
public void setNumberOfOctets(long numberOfOctets)
getNumberOfOctets
public long getNumberOfOctets()
Copyright © 2011. All Rights Reserved.