Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.mail
Class AttachmentData

java.lang.Object
  extended by com.jivesoftware.forum.mail.AttachmentData

public class AttachmentData
extends java.lang.Object

Holds the relevant data for one email message attachment. Instances of this class are only usable while the EmailBatch which contains the InboundMessage which in turn contains this attachment is open. Calling EmailBatch.close() will close the InputStream holding the actual attachment data.


Constructor Summary
AttachmentData(java.lang.String filename, java.lang.String contentType, java.io.InputStream is)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getFilename()
           
 java.io.InputStream getInputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentData

public AttachmentData(java.lang.String filename,
                      java.lang.String contentType,
                      java.io.InputStream is)
Method Detail

getFilename

public java.lang.String getFilename()

getInputStream

public java.io.InputStream getInputStream()

getContentType

public java.lang.String getContentType()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.