Java Doc for FauxMessage.java in  » Ajax » NextApp-Echo2 » echo2example » email » faux » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » NextApp Echo2 » echo2example.email.faux 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


echo2example.email.faux.FauxMessage

FauxMessage
public class FauxMessage extends Message (Code)
The faux Message implementation. This class provides only the minimal implementation of the Message base class necessary for operation of the web mail example.



Constructor Summary
public  FauxMessage(Address from, Date receivedDate, Address[] to, Address[] cc, Address[] bcc, String subject, String content)
    

Method Summary
public  voidaddFrom(Address[] from)
    
public  voidaddHeader(String arg0, String arg1)
    
public  voidaddRecipients(RecipientType arg0, Address[] arg1)
    
public  EnumerationgetAllHeaders()
    
public  ObjectgetContent()
    
public  StringgetContentType()
    
public  DataHandlergetDataHandler()
    
public  StringgetDescription()
    
public  StringgetDisposition()
    
public  StringgetFileName()
    
public  FlagsgetFlags()
    
public  Address[]getFrom()
    
public  String[]getHeader(String arg0)
    
public  InputStreamgetInputStream()
    
public  intgetLineCount()
    
public  EnumerationgetMatchingHeaders(String[] arg0)
    
public  EnumerationgetNonMatchingHeaders(String[] arg0)
    
public  DategetReceivedDate()
    
public  Address[]getRecipients(RecipientType recipientType)
    
public  DategetSentDate()
    
public  intgetSize()
    
public  StringgetSubject()
    
public  booleanisMimeType(String arg0)
    
public  voidremoveHeader(String arg0)
    
public  Messagereply(boolean arg0)
    
public  voidsaveChanges()
    
public  voidsetContent(Multipart arg0)
    
public  voidsetContent(Object arg0, String arg1)
    
public  voidsetDataHandler(DataHandler arg0)
    
public  voidsetDescription(String arg0)
    
public  voidsetDisposition(String arg0)
    
public  voidsetFileName(String arg0)
    
public  voidsetFlags(Flags arg0, boolean arg1)
    
public  voidsetFrom()
    
public  voidsetFrom(Address arg0)
    
public  voidsetHeader(String arg0, String arg1)
    
public  voidsetRecipients(RecipientType arg0, Address[] arg1)
    
public  voidsetSentDate(Date arg0)
    
public  voidsetSubject(String arg0)
    
public  voidsetText(String arg0)
    
public  voidwriteTo(OutputStream arg0)
    


Constructor Detail
FauxMessage
public FauxMessage(Address from, Date receivedDate, Address[] to, Address[] cc, Address[] bcc, String subject, String content)(Code)
Creates a new FauxMessage
Parameters:
  from - the sender
Parameters:
  receivedDate - the date the message was received
Parameters:
  to - an array of "to" recipients
Parameters:
  cc - an array of "cc" recipients
Parameters:
  bcc - an array of "bcc" recipients
Parameters:
  subject - the subject of the message
Parameters:
  content - the content of the message




Method Detail
addFrom
public void addFrom(Address[] from) throws MessagingException(Code)

See Also:   javax.mail.Message.addFrom(javax.mail.Address[])



addHeader
public void addHeader(String arg0, String arg1) throws MessagingException(Code)

See Also:   javax.mail.Part.addHeader(java.lang.Stringjava.lang.String)



addRecipients
public void addRecipients(RecipientType arg0, Address[] arg1) throws MessagingException(Code)

See Also:   javax.mail.Message.addRecipients(javax.mail.Message.RecipientTypejavax.mail.Address[])



getAllHeaders
public Enumeration getAllHeaders() throws MessagingException(Code)

See Also:   javax.mail.Part.getAllHeaders



getContent
public Object getContent() throws IOException, MessagingException(Code)

See Also:   javax.mail.Part.getContent



getContentType
public String getContentType() throws MessagingException(Code)

See Also:   javax.mail.Part.getContentType



getDataHandler
public DataHandler getDataHandler() throws MessagingException(Code)

See Also:   javax.mail.Part.getDataHandler



getDescription
public String getDescription() throws MessagingException(Code)

See Also:   javax.mail.Part.getDescription



getDisposition
public String getDisposition() throws MessagingException(Code)

See Also:   javax.mail.Part.getDisposition



getFileName
public String getFileName() throws MessagingException(Code)

See Also:   javax.mail.Part.getFileName



getFlags
public Flags getFlags() throws MessagingException(Code)

See Also:   javax.mail.Message.getFlags



getFrom
public Address[] getFrom() throws MessagingException(Code)

See Also:   javax.mail.Message.getFrom



getHeader
public String[] getHeader(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.getHeader(java.lang.String)



getInputStream
public InputStream getInputStream() throws IOException, MessagingException(Code)

See Also:   javax.mail.Part.getInputStream



getLineCount
public int getLineCount() throws MessagingException(Code)

See Also:   javax.mail.Part.getLineCount



getMatchingHeaders
public Enumeration getMatchingHeaders(String[] arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.getMatchingHeaders(java.lang.String[])



getNonMatchingHeaders
public Enumeration getNonMatchingHeaders(String[] arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.getNonMatchingHeaders(java.lang.String[])



getReceivedDate
public Date getReceivedDate() throws MessagingException(Code)

See Also:   javax.mail.Message.getReceivedDate



getRecipients
public Address[] getRecipients(RecipientType recipientType) throws MessagingException(Code)

See Also:   javax.mail.Message.getRecipients(javax.mail.Message.RecipientType)



getSentDate
public Date getSentDate() throws MessagingException(Code)

See Also:   javax.mail.Message.getSentDate



getSize
public int getSize() throws MessagingException(Code)

See Also:   javax.mail.Part.getSize



getSubject
public String getSubject() throws MessagingException(Code)

See Also:   javax.mail.Message.getSubject



isMimeType
public boolean isMimeType(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.isMimeType(java.lang.String)



removeHeader
public void removeHeader(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.removeHeader(java.lang.String)



reply
public Message reply(boolean arg0) throws MessagingException(Code)

See Also:   javax.mail.Message.reply(boolean)



saveChanges
public void saveChanges() throws MessagingException(Code)

See Also:   javax.mail.Message.saveChanges



setContent
public void setContent(Multipart arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.setContent(javax.mail.Multipart)



setContent
public void setContent(Object arg0, String arg1) throws MessagingException(Code)

See Also:   javax.mail.Part.setContent(java.lang.Objectjava.lang.String)



setDataHandler
public void setDataHandler(DataHandler arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.setDataHandler(javax.activation.DataHandler)



setDescription
public void setDescription(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.setDescription(java.lang.String)



setDisposition
public void setDisposition(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.setDisposition(java.lang.String)



setFileName
public void setFileName(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.setFileName(java.lang.String)



setFlags
public void setFlags(Flags arg0, boolean arg1) throws MessagingException(Code)

See Also:   javax.mail.Message.setFlags(javax.mail.Flagsboolean)



setFrom
public void setFrom() throws MessagingException(Code)

See Also:   javax.mail.Message.setFrom



setFrom
public void setFrom(Address arg0) throws MessagingException(Code)

See Also:   javax.mail.Message.setFrom(javax.mail.Address)



setHeader
public void setHeader(String arg0, String arg1) throws MessagingException(Code)

See Also:   javax.mail.Part.setHeader(java.lang.Stringjava.lang.String)



setRecipients
public void setRecipients(RecipientType arg0, Address[] arg1) throws MessagingException(Code)

See Also:   javax.mail.Message.setRecipients(javax.mail.Message.RecipientTypejavax.mail.Address[])



setSentDate
public void setSentDate(Date arg0) throws MessagingException(Code)

See Also:   javax.mail.Message.setSentDate(java.util.Date)



setSubject
public void setSubject(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Message.setSubject(java.lang.String)



setText
public void setText(String arg0) throws MessagingException(Code)

See Also:   javax.mail.Part.setText(java.lang.String)



writeTo
public void writeTo(OutputStream arg0) throws IOException, MessagingException(Code)

See Also:   javax.mail.Part.writeTo(java.io.OutputStream)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.