org.apache.james.core
Class MimeMessageInputStreamSource

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

public class MimeMessageInputStreamSource
extends MimeMessageSource

MimeMessageInputStreamSource.java Created:

Version:
Modified by Oki DZ Thu Oct 4 15:15:27 WIT 2001
Author:
 

Constructor Summary
MimeMessageInputStreamSource(java.lang.String key, java.io.InputStream in)
           
 
Method Summary
 void finalize()
           
 java.io.InputStream getInputStream()
          Return an input stream to the data
 long getMessageSize()
          If not already, read the stream into a temp file
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeMessageInputStreamSource

public MimeMessageInputStreamSource(java.lang.String key,
                                    java.io.InputStream in)
Method Detail

getInputStream

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

getMessageSize

public long getMessageSize()
                    throws java.io.IOException
If not already, read the stream into a temp file
Overrides:
getMessageSize in class MimeMessageSource

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object


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