|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moyosoft.exchange.attachment.AttachmentInfo
public class AttachmentInfo
Contains information on an attachment.
Constructor Summary | |
---|---|
AttachmentInfo(java.lang.String name)
Creates an information object for a new attachment with the specified parameters. |
|
AttachmentInfo(java.lang.String name,
java.lang.String contentId)
Creates an information object for a new attachment with the specified parameters. |
|
AttachmentInfo(java.lang.String name,
java.lang.String contentId,
java.lang.String contentType)
Creates an information object for a new attachment with the specified parameters. |
|
AttachmentInfo(java.lang.String name,
java.lang.String contentId,
java.lang.String contentType,
java.lang.String contentLocation)
Creates an information object for a new attachment with the specified parameters. |
Method Summary | |
---|---|
java.lang.String |
getContentId()
Returns an application-specific identifier for the contents of an attachment. |
java.lang.String |
getContentLocation()
Returns the URI corresponding to the location of the content of the attachment. |
java.lang.String |
getContentType()
Returns the MIME type of the attachment content. |
java.lang.String |
getName()
Returns the displayed name of the attachment. |
void |
setContentId(java.lang.String contentId)
Sets an application-specific identifier for the contents of an attachment. |
void |
setContentLocation(java.lang.String contentLocation)
Sets the URI corresponding to the location of the content of the attachment. |
void |
setContentType(java.lang.String contentType)
Sets the MIME type of the attachment content. |
void |
setName(java.lang.String name)
Sets the displayed name of the attachment. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentInfo(java.lang.String name)
name
- the displayed name of the attachment.public AttachmentInfo(java.lang.String name, java.lang.String contentId)
name
- the displayed name of the attachment.contentId
- an application-specific identifier for the contents of an attachment.public AttachmentInfo(java.lang.String name, java.lang.String contentId, java.lang.String contentType)
name
- the displayed name of the attachment.contentId
- an application-specific identifier for the contents of an attachment.contentType
- the MIME type of the attachment content.public AttachmentInfo(java.lang.String name, java.lang.String contentId, java.lang.String contentType, java.lang.String contentLocation)
name
- the displayed name of the attachment.contentId
- an application-specific identifier for the contents of an attachment.contentType
- the MIME type of the attachment content.contentLocation
- the URI corresponding to the location of the content of the attachment.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getContentId()
public void setContentId(java.lang.String contentId)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public java.lang.String getContentLocation()
public void setContentLocation(java.lang.String contentLocation)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |