ePOST API

rice.email.proxy.imap.commands.fetch
Class BodyPart

java.lang.Object
  extended by rice.email.proxy.imap.commands.fetch.FetchPart
      extended by rice.email.proxy.imap.commands.fetch.BodyPart

public class BodyPart
extends FetchPart


Constructor Summary
BodyPart()
           
 
Method Summary
 boolean canHandle(java.lang.Object req)
           
 java.lang.String fetch(StoredMessage msg, java.lang.Object part)
           
 java.lang.String fetchAll(BodyPartRequest breq, EmailContentPart part)
           
 java.lang.String fetchAll(EmailContentPart part)
           
 java.lang.String fetchAll(EmailHeadersPart part)
           
 java.lang.String fetchAll(EmailMultiPart part)
           
 java.lang.String fetchAll(EmailSinglePart part)
           
protected  java.lang.String fetchHandler(StoredMessage msg, java.lang.Object part)
           
protected  java.lang.String fetchHeader(EmailHeadersPart part)
           
protected  java.lang.String fetchHeader(EmailHeadersPart part, java.lang.String[] parts)
           
protected  java.lang.String fetchHeader(EmailHeadersPart part, java.lang.String[] parts, boolean exclude)
           
protected  java.lang.String fetchPart(BodyPartRequest breq, java.util.List types, EmailHeadersPart part)
           
protected  java.lang.String fetchSize(EmailMessagePart message)
           
 java.lang.String getBoundary(java.lang.String type)
           
protected  int internalFetchSize(EmailContentPart content)
           
 
Methods inherited from class rice.email.proxy.imap.commands.fetch.FetchPart
getConn, setConn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyPart

public BodyPart()
Method Detail

canHandle

public boolean canHandle(java.lang.Object req)
Specified by:
canHandle in class FetchPart

fetch

public java.lang.String fetch(StoredMessage msg,
                              java.lang.Object part)
                       throws MailboxException
Specified by:
fetch in class FetchPart
Throws:
MailboxException

fetchHandler

protected java.lang.String fetchHandler(StoredMessage msg,
                                        java.lang.Object part)
                                 throws MailboxException
Throws:
MailboxException

fetchSize

protected java.lang.String fetchSize(EmailMessagePart message)
                              throws MailboxException
Throws:
MailboxException

internalFetchSize

protected int internalFetchSize(EmailContentPart content)
                         throws MailboxException
Throws:
MailboxException

fetchPart

protected java.lang.String fetchPart(BodyPartRequest breq,
                                     java.util.List types,
                                     EmailHeadersPart part)
                              throws MailboxException
Throws:
MailboxException

fetchHeader

protected java.lang.String fetchHeader(EmailHeadersPart part)
                                throws MailboxException
Throws:
MailboxException

fetchHeader

protected java.lang.String fetchHeader(EmailHeadersPart part,
                                       java.lang.String[] parts)
                                throws MailboxException
Throws:
MailboxException

fetchHeader

protected java.lang.String fetchHeader(EmailHeadersPart part,
                                       java.lang.String[] parts,
                                       boolean exclude)
                                throws MailboxException
Throws:
MailboxException

fetchAll

public java.lang.String fetchAll(BodyPartRequest breq,
                                 EmailContentPart part)
                          throws MailboxException
Throws:
MailboxException

fetchAll

public java.lang.String fetchAll(EmailContentPart part)
                          throws MailboxException
Throws:
MailboxException

getBoundary

public java.lang.String getBoundary(java.lang.String type)

fetchAll

public java.lang.String fetchAll(EmailMultiPart part)
                          throws MailboxException
Throws:
MailboxException

fetchAll

public java.lang.String fetchAll(EmailSinglePart part)
                          throws MailboxException
Throws:
MailboxException

fetchAll

public java.lang.String fetchAll(EmailHeadersPart part)
                          throws MailboxException
Throws:
MailboxException

ePOST API

Copyright © 2001-2005 - Rice Pastry.