public abstract class MimeMessageSource extends Object
MimeMessageWrapper| Constructor and Description | 
|---|
| MimeMessageSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract InputStream | getInputStream()Get an input stream to retrieve the data stored in the datasource | 
| long | getMessageSize()Return the size of all the data. | 
| abstract String | getSourceId()Returns a unique String ID that represents the location from where this
 file is loaded. | 
public abstract String getSourceId()
public abstract InputStream getInputStream() throws IOException
InputStream containing the dataIOException - if an error occurs while generating the InputStreampublic long getMessageSize()
                    throws IOException
IOException - if an error is encountered while computing the message sizeCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.