|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines an attachment.
Method Summary | |
byte[] |
getBytes()
Gets the byte data of the attachment. |
java.lang.String |
getContentType()
Gets the content type of the attachment or null if not set. |
java.lang.String |
getName()
Gets the name of this attachment or null if not set. |
int |
getSize()
Gets the size of the attachment (in bytes). |
java.lang.String |
getSizeKilos()
Gets the size of this attachment (in kilobytes). |
Method Detail |
public java.lang.String getName()
null
if not set.null
if not setpublic byte[] getBytes() throws MailException
public int getSize() throws MailException
public java.lang.String getSizeKilos() throws MailException
public java.lang.String getContentType()
null
if not set.null
if not set
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |