Save This Page
Home » glassfish-v2ur2-b04-src » javax » mail » [javadoc | source]
javax.mail
public class: SimpleTextMessage [javadoc | source]
java.lang.Object
   javax.mail.Message
      javax.mail.SimpleTextMessage

All Implemented Interfaces:
    Part

Field Summary
public static final  Address[] ADDRESS_ARRAY     
Fields inherited from javax.mail.Message:
msgnum,  expunged,  folder,  session
Constructor:
 public SimpleTextMessage(Folder folder,
    int number) 
    Parameters:
    folder -
    number -
Method from javax.mail.SimpleTextMessage Summary:
addFrom,   addHeader,   addRecipients,   getAllHeaders,   getContent,   getContentType,   getDataHandler,   getDescription,   getDisposition,   getFileName,   getFlags,   getFrom,   getHeader,   getInputStream,   getLineCount,   getMatchingHeaders,   getNonMatchingHeaders,   getReceivedDate,   getRecipients,   getSentDate,   getSize,   getSubject,   isMimeType,   removeHeader,   reply,   saveChanges,   setContent,   setContent,   setDataHandler,   setDescription,   setDisposition,   setFileName,   setFlags,   setFrom,   setFrom,   setHeader,   setRecipients,   setSentDate,   setSubject,   setText,   writeTo
Methods from javax.mail.Message:
addFrom,   addRecipient,   addRecipients,   getAllRecipients,   getFlags,   getFolder,   getFrom,   getMessageNumber,   getReceivedDate,   getRecipients,   getReplyTo,   getSentDate,   getSubject,   isExpunged,   isSet,   match,   reply,   saveChanges,   setExpunged,   setFlag,   setFlags,   setFrom,   setFrom,   setMessageNumber,   setRecipient,   setRecipients,   setReplyTo,   setSentDate,   setSubject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.mail.SimpleTextMessage Detail:
 public  void addFrom(Address[] addresses) throws MessagingException 
 public  void addHeader(String name,
    String value) throws MessagingException 
 public  void addRecipients(RecipientType type,
    Address[] addresses) throws MessagingException 
 public Enumeration getAllHeaders() throws MessagingException 
 public Object getContent() throws IOException, MessagingException 
 public String getContentType() throws MessagingException 
 public DataHandler getDataHandler() throws MessagingException 
 public String getDescription() throws MessagingException 
 public String getDisposition() throws MessagingException 
 public String getFileName() throws MessagingException 
 public Flags getFlags() throws MessagingException 
 public Address[] getFrom() throws MessagingException 
 public String[] getHeader(String name) throws MessagingException 
 public InputStream getInputStream() throws IOException, MessagingException 
 public int getLineCount() throws MessagingException 
 public Enumeration getMatchingHeaders(String[] names) throws MessagingException 
 public Enumeration getNonMatchingHeaders(String[] names) throws MessagingException 
 public Date getReceivedDate() throws MessagingException 
 public Address[] getRecipients(RecipientType type) throws MessagingException 
 public Date getSentDate() throws MessagingException 
 public int getSize() throws MessagingException 
 public String getSubject() throws MessagingException 
 public boolean isMimeType(String mimeType) throws MessagingException 
 public  void removeHeader(String name) throws MessagingException 
 public Message reply(boolean replyToAll) throws MessagingException 
 public  void saveChanges() throws MessagingException 
 public  void setContent(Multipart content) throws MessagingException 
 public  void setContent(Object content,
    String type) throws MessagingException 
 public  void setDataHandler(DataHandler handler) throws MessagingException 
 public  void setDescription(String description) throws MessagingException 
 public  void setDisposition(String disposition) throws MessagingException 
 public  void setFileName(String name) throws MessagingException 
 public  void setFlags(Flags flags,
    boolean set) throws MessagingException 
 public  void setFrom() throws MessagingException 
 public  void setFrom(Address address) throws MessagingException 
 public  void setHeader(String name,
    String value) throws MessagingException 
 public  void setRecipients(RecipientType type,
    Address[] addresses) throws MessagingException 
 public  void setSentDate(Date sent) throws MessagingException 
 public  void setSubject(String subject) throws MessagingException 
 public  void setText(String content) throws MessagingException 
 public  void writeTo(OutputStream out) throws IOException, MessagingException