org.apache.james.mailrepository
Class MimeMessageAvalonSource

java.lang.Object
  |
  +--org.apache.james.core.MimeMessageSource
        |
        +--org.apache.james.mailrepository.MimeMessageAvalonSource

public class MimeMessageAvalonSource
extends MimeMessageSource


Constructor Summary
MimeMessageAvalonSource(org.apache.avalon.cornerstone.services.store.StreamRepository sr, java.lang.String repositoryName, java.lang.String key)
           
 
Method Summary
 java.io.InputStream getInputStream()
          Return an input stream to the data
 java.lang.String getSourceId()
          Returns a unique String ID that represents where this file is loaded from.
 
Methods inherited from class org.apache.james.core.MimeMessageSource
getMessageSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeMessageAvalonSource

public MimeMessageAvalonSource(org.apache.avalon.cornerstone.services.store.StreamRepository sr,
                               java.lang.String repositoryName,
                               java.lang.String key)
Method Detail

getSourceId

public java.lang.String getSourceId()
Description copied from class: MimeMessageSource
Returns a unique String ID that represents where this file is loaded from. This will be used to identify where the data is, primarily to avoid situations where this data would get overwritten.

Specified by:
getSourceId in class MimeMessageSource

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Description copied from class: MimeMessageSource
Return an input stream to the data

Specified by:
getInputStream in class MimeMessageSource
java.io.IOException


"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."