|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.james.core.MimeMessageSource
org.apache.james.mailrepository.file.MimeMessageAvalonSource
public class MimeMessageAvalonSource
| Constructor Summary | |
|---|---|
MimeMessageAvalonSource(StreamRepository sr,
java.lang.String repositoryName,
java.lang.String key)
Main constructor |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Return the InputStream |
long |
getMessageSize()
|
java.lang.String |
getSourceId()
Returns a unique String ID that represents the location from where this source is loaded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MimeMessageAvalonSource(StreamRepository sr,
java.lang.String repositoryName,
java.lang.String key)
sr - The stream repository used by this data source.repositoryName - The name of the repositorykey - The key for the particular stream in the stream repository to be used by this data source.| Method Detail |
|---|
public java.lang.String getSourceId()
getSourceId in class MimeMessageSource
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class MimeMessageSourcejava.io.IOException
public long getMessageSize()
throws java.io.IOException
getMessageSize in class MimeMessageSourcejava.io.IOExceptionMimeMessageSource.getMessageSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||