com.hs.mail.imap.processor.fetch
Class PartContentBuilder

java.lang.Object
  extended by com.hs.mail.imap.processor.fetch.PartContentBuilder

public class PartContentBuilder
extends Object

Since:
Mar 8, 2010
Author:
Won Chul Doh

Nested Class Summary
 class PartContentBuilder.PartNotFoundException
           
 
Field Summary
static byte[] EMPTY
           
 
Constructor Summary
PartContentBuilder()
           
 
Method Summary
 void build(InputStream is, int[] path)
           
 byte[] getMessageBodyContent()
           
 Map<String,String> getMessageHeader()
           
 byte[] getMimeBodyContent()
           
 Map<String,String> getMimeHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final byte[] EMPTY
Constructor Detail

PartContentBuilder

public PartContentBuilder()
Method Detail

build

public void build(InputStream is,
                  int[] path)

getMimeHeader

public Map<String,String> getMimeHeader()
                                 throws IOException,
                                        org.apache.james.mime4j.MimeException
Throws:
IOException
org.apache.james.mime4j.MimeException

getMessageHeader

public Map<String,String> getMessageHeader()
                                    throws IOException,
                                           org.apache.james.mime4j.MimeException
Throws:
IOException
org.apache.james.mime4j.MimeException

getMimeBodyContent

public byte[] getMimeBodyContent()
                          throws IOException,
                                 org.apache.james.mime4j.MimeException
Throws:
IOException
org.apache.james.mime4j.MimeException

getMessageBodyContent

public byte[] getMessageBodyContent()
                             throws IOException,
                                    org.apache.james.mime4j.MimeException
Throws:
IOException
org.apache.james.mime4j.MimeException


Copyright © 2011. All Rights Reserved.