org.apache.james.core
Class MimeMessageSource

java.lang.Object
  |
  +--org.apache.james.core.MimeMessageSource
Direct Known Subclasses:
MimeMessageAvalonSource, MimeMessageFileSource, MimeMessageInputStreamSource, MimeMessageJDBCSource

public abstract class MimeMessageSource
extends java.lang.Object

A source of a MimeMessage.


Constructor Summary
MimeMessageSource()
           
 
Method Summary
abstract  java.io.InputStream getInputStream()
          Return an input stream to the data
 long getSize()
          Return the size of all the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeMessageSource

public MimeMessageSource()
Method Detail

getInputStream

public abstract java.io.InputStream getInputStream()
                                            throws java.io.IOException
Return an input stream to the data

getSize

public long getSize()
             throws java.io.IOException
Return the size of all the data. Default implementation... others can override to do this much faster


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.