|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.AbstractItem | +--com.compoze.exchange.Attachment
This class represents an attachment on a message.
Field Summary | |
static PropertyKey[] |
ALL_PROPS
Contains an array of all the properties available for an attachment. |
Fields inherited from class com.compoze.exchange.AbstractItem |
m_props, m_session |
Method Summary | |
java.lang.String |
getContentID()
Gets the content id of the attachment. |
java.util.Date |
getDateCreated()
Gets the date the attachment was added to the message. |
java.lang.String |
getDisplayName()
Gets the display name of the attachment. |
java.lang.String |
getExtension()
Gets the extension of the attachment. |
int |
getIndex()
Gets the index of the attachment. |
java.lang.String |
getLongName()
Gets the long file name of the attachment. |
java.lang.String |
getMimeTag()
Gets the MIME tag of the attachment type. |
java.lang.String |
getName()
Gets the name of the attachment. |
int |
getPosition()
Gets the position index of the attachment. |
int |
getRenderingPosition()
Gets the rendering position of this attachment. |
int |
getSize()
Gets the size, in bytes, of the attachment. |
AttachmentType |
getType()
Gets the type of attachment. |
javax.activation.DataHandler |
serverGetAttachmentContent()
Gets the attachment data from the server. |
void |
serverUpdate()
This method is not supported. |
Methods inherited from class com.compoze.exchange.AbstractItem |
get, getBoolean, getByteArray, getDate, getDouble, getInt, getInvalidPropertyValues, getPropertyKeys, getString, getStringArray, getUpdatedPropertyValues, set, setBoolean, setByteArray, setDate, setDouble, setInt, setString, setStringArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static PropertyKey[] ALL_PROPS
Method Detail |
public int getIndex() throws ExchangeException
public java.lang.String getName() throws ExchangeException
public int getPosition() throws ExchangeException
public AttachmentType getType() throws ExchangeException
AttachmentType
public java.lang.String getExtension() throws ExchangeException
null
if not availablepublic java.lang.String getLongName() throws ExchangeException
public int getSize() throws ExchangeException
public java.util.Date getDateCreated() throws ExchangeException
public java.lang.String getDisplayName() throws ExchangeException
public java.lang.String getContentID() throws ExchangeException
null
if not specified.public java.lang.String getMimeTag() throws ExchangeException
null
if not
available.public int getRenderingPosition() throws ExchangeException
public javax.activation.DataHandler serverGetAttachmentContent() throws ExchangeException
public void serverUpdate() throws ExchangeException
serverUpdate
in class AbstractItem
ExchangeException
- this method always throws the Exception; this
is an unsupported operation.
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |