org.apache.james.mailboxmanager.torque
Class PartContentBuilder

java.lang.Object
  extended by org.apache.james.mailboxmanager.torque.PartContentBuilder

public class PartContentBuilder
extends java.lang.Object


Nested Class Summary
static class PartContentBuilder.PartNotFoundException
           
static class PartContentBuilder.UnexpectedEOFException
           
 
Constructor Summary
PartContentBuilder()
           
 
Method Summary
 MessageResult.Content getFullContent()
           
 MessageResult.Content getMessageBodyContent()
           
 java.util.List getMessageHeaders()
           
 MessageResult.Content getMimeBodyContent()
           
 java.util.List getMimeHeaders()
           
 void markEmpty()
           
 void parse(java.io.InputStream in)
           
 void to(int position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartContentBuilder

public PartContentBuilder()
Method Detail

markEmpty

public void markEmpty()

parse

public void parse(java.io.InputStream in)

to

public void to(int position)
        throws java.io.IOException
Throws:
java.io.IOException

getFullContent

public MessageResult.Content getFullContent()
                                     throws java.io.IOException
Throws:
java.io.IOException

getMessageBodyContent

public MessageResult.Content getMessageBodyContent()
                                            throws java.io.IOException
Throws:
java.io.IOException

getMimeBodyContent

public MessageResult.Content getMimeBodyContent()
                                         throws java.io.IOException
Throws:
java.io.IOException

getMimeHeaders

public java.util.List getMimeHeaders()
                              throws java.io.IOException
Throws:
java.io.IOException

getMessageHeaders

public java.util.List getMessageHeaders()
                                 throws java.io.IOException
Throws:
java.io.IOException


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