|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.james.core.MimeMessageSource
This defines a reusable datasource that can supply an input stream with MimeMessage data. This allows a MimeMessageWrapper or other classes to grab the underlying data.
MimeMessageWrapper
Constructor Summary | |
MimeMessageSource()
|
Method Summary | |
abstract java.io.InputStream |
getInputStream()
Return an input stream to the data |
long |
getMessageSize()
Return the size of all the data. |
abstract java.lang.String |
getSourceId()
Returns a unique String ID that represents where this file is loaded from. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MimeMessageSource()
Method Detail |
public abstract java.lang.String getSourceId()
public abstract java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public long getMessageSize() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |