|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.Server.EmailAttachment
public static final class Server.EmailAttachment
This class embodies an email attachment.
Server.sendMail(com.starteam.View, com.starteam.User[], com.starteam.User[], com.starteam.User[], java.lang.String, java.lang.String)| Constructor Summary | |
|---|---|
Server.EmailAttachment(java.io.File source,
java.lang.String name,
java.lang.String contentType)
Creates a new email attachment based on the specified input file. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Return's the attachment's MIME content-type. |
java.lang.String |
getName()
Returns the attachment's name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Server.EmailAttachment(java.io.File source,
java.lang.String name,
java.lang.String contentType)
source - the file to be attached, may not be nullname - the name to call the attachment, may not be nullcontentType - the attachment's content type, may not be null| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getContentType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||