ipworkssmime
Class FileAttachment
java.lang.Object
ipworkssmime.FileAttachment
public class FileAttachment
- extends java.lang.Object
This describes the file being attached.
Information about the file's location that is being attached to
the message is contained here.
File:
This field contains the path of a file on your system that you would like to send as an attachment with your message.
InputStream:
When this field is set to a valid stream, the bean will attach the data from the stream as the current attachment.
Name:
This field contains the name of the attachment to be sent.
- See Also:
Certmgr
,
Certmgr.FileAttachment
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileAttachment
public FileAttachment()
FileAttachment
public FileAttachment(java.lang.String file)
FileAttachment
public FileAttachment(java.lang.String name,
java.lang.String file)
FileAttachment
public FileAttachment(java.lang.String name,
java.io.InputStream inputStream)
FileAttachment
public FileAttachment(java.lang.String name,
java.io.InputStream inputStream,
java.lang.String encoding)
getFile
public java.lang.String getFile()
setFile
public void setFile(java.lang.String value)
getInputStream
public java.io.InputStream getInputStream()
setInputStream
public void setInputStream(java.io.InputStream value)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String value)
Copyright (c) 2013 /n software inc. - All rights reserved.