|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.core.MimeMessageSource
public abstract class 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()
Get an input stream to retrieve the data stored in the datasource |
long |
getMessageSize()
Return the size of all the data. |
abstract java.lang.String |
getSourceId()
Returns a unique String ID that represents the location from where this file is loaded. |
| 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
InputStream containing the data
java.io.IOException - if an error occurs while generating the
InputStream
public long getMessageSize()
throws java.io.IOException
java.io.IOException - if an error is encountered while computing the message size
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||