jec.dto
Class AttachmentDTO
java.lang.Object
jec.dto.AttachmentInfoDTO
jec.dto.AttachmentDTO
- All Implemented Interfaces:
- java.io.Serializable
public class AttachmentDTO
- extends AttachmentInfoDTO
- implements java.io.Serializable
Title:
Description: DataStructure for Attachment, holds information of the attachment name and path.
Copyright: Copyright (c) 2006
Company: NetComps
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentDTO
public AttachmentDTO()
getCid
public java.lang.String getCid()
setCid
public void setCid(java.lang.String cid)
- Set the content ID, used for inline attachments (see related example).
- Parameters:
cid - can be only ascii characters, with no special ones (A-Z,a-z,_)
setInputStreamContent
public void setInputStreamContent(java.io.InputStream is)
getInputStreamContent
public java.io.InputStream getInputStreamContent()
getByteData
public byte[] getByteData()
setByteData
public void setByteData(byte[] data)