com.jivesoftware.forum.mail
Class AttachmentData
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentData
public AttachmentData(java.lang.String filename,
java.lang.String contentType,
java.io.InputStream is)
getFilename
public java.lang.String getFilename()
getInputStream
public java.io.InputStream getInputStream()
getContentType
public java.lang.String getContentType()
Copyright © 1999-2006 Jive Software.