Java Doc for MockMimeMessage.java in  » Web-Mail » james-2.3.1 » org » apache » james » test » mock » javaxmail » 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 » Web Mail » james 2.3.1 » org.apache.james.test.mock.javaxmail 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.james.test.mock.javaxmail.MockMimeMessage

MockMimeMessage
public class MockMimeMessage extends MimeMessage (Code)



Constructor Summary
public  MockMimeMessage()
    
public  MockMimeMessage(MimeMessage mimeMessage)
    

Method Summary
public  voidaddFrom(Address[] addresses)
    
public  voidaddHeader(String name, String value)
    
public  voidaddHeaderLine(String headerLine)
    
public  voidaddRecipient(Message.RecipientType recipientType, Address address)
    
public  voidaddRecipients(Message.RecipientType recipientType, Address[] addresses)
    
public  voidaddRecipients(Message.RecipientType recipientType, String recipient)
    
protected  InternetHeaderscreateInternetHeaders(InputStream inputStream)
    
public  EnumerationgetAllHeaderLines()
    
public  EnumerationgetAllHeaders()
    
public  Address[]getAllRecipients()
    
public  ObjectgetContent()
    
public  StringgetContentID()
    
public  String[]getContentLanguage()
    
public  StringgetContentMD5()
    
protected  InputStreamgetContentStream()
    
public  StringgetContentType()
    
public synchronized  DataHandlergetDataHandler()
    
public  StringgetDescription()
    
public  StringgetDisposition()
    
public  StringgetEncoding()
    
public  StringgetFileName()
    
public synchronized  FlagsgetFlags()
    
public  FoldergetFolder()
    
public  Address[]getFrom()
    
public  String[]getHeader(String name)
    
public  StringgetHeader(String name, String delimiter)
    
public  InputStreamgetInputStream()
    
public  intgetLineCount()
    
public  EnumerationgetMatchingHeaderLines(String[] names)
    
public  EnumerationgetMatchingHeaders(String[] names)
    
public  StringgetMessageID()
    
public  intgetMessageNumber()
    
public  EnumerationgetNonMatchingHeaderLines(String[] names)
    
public  EnumerationgetNonMatchingHeaders(String[] names)
    
public  InputStreamgetRawInputStream()
    
public  DategetReceivedDate()
    
public  Address[]getRecipients(Message.RecipientType recipientType)
    
public  Address[]getReplyTo()
    
public  AddressgetSender()
    
public  DategetSentDate()
    
public  intgetSize()
    
public  StringgetSubject()
    
public  booleanisExpunged()
    
public  booleanisMimeType(String mimeType)
    
public synchronized  booleanisSet(Flags.Flag flag)
    
public  booleanmatch(SearchTerm searchTerm)
    
public  voidremoveHeader(String name)
    
public  Messagereply(boolean b)
    
public  voidsaveChanges()
    
public  voidsetContent(Object object, String mimeType)
    
public  voidsetContent(Multipart multipart)
    
public  voidsetContentID(String contentID)
    
public  voidsetContentLanguage(String[] contentLanguage)
    
public  voidsetContentMD5(String value)
    
public synchronized  voidsetDataHandler(DataHandler dataHandler)
    
public  voidsetDescription(String description)
    
public  voidsetDescription(String description, String charset)
    
public  voidsetDisposition(String disposition)
    
protected  voidsetExpunged(boolean b)
    
public  voidsetFileName(String fileName)
    
public  voidsetFlag(Flags.Flag flag, boolean set)
    
public synchronized  voidsetFlags(Flags flags, boolean set)
    
public  voidsetFrom(Address address)
    
public  voidsetFrom()
    
public  voidsetHeader(String name, String value)
    
protected  voidsetMessageNumber(int i)
    
public  voidsetRecipient(Message.RecipientType recipientType, Address address)
    
public  voidsetRecipients(Message.RecipientType recipientType, Address[] addresses)
    
public  voidsetRecipients(Message.RecipientType recipientType, String recipient)
    
public  voidsetReplyTo(Address[] addresses)
    
public  voidsetSender(Address address)
    
public  voidsetSentDate(Date date)
    
public  voidsetShouldMatch(boolean doMatch)
    
public  voidsetSubject(String subject)
    
public  voidsetSubject(String subject, String charset)
    
public  voidsetText(String string)
    
public  voidsetText(String string, String charset)
    
protected  voidupdateHeaders()
    
public  voidwriteTo(OutputStream outputStream)
    
public  voidwriteTo(OutputStream outputStream, String[] strings)
    


Constructor Detail
MockMimeMessage
public MockMimeMessage() throws MessagingException(Code)



MockMimeMessage
public MockMimeMessage(MimeMessage mimeMessage) throws MessagingException(Code)




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



addHeader
public void addHeader(String name, String value) throws MessagingException(Code)



addHeaderLine
public void addHeaderLine(String headerLine) throws MessagingException(Code)



addRecipient
public void addRecipient(Message.RecipientType recipientType, Address address) throws MessagingException(Code)



addRecipients
public void addRecipients(Message.RecipientType recipientType, Address[] addresses) throws MessagingException(Code)



addRecipients
public void addRecipients(Message.RecipientType recipientType, String recipient) throws MessagingException(Code)



createInternetHeaders
protected InternetHeaders createInternetHeaders(InputStream inputStream) throws MessagingException(Code)



getAllHeaderLines
public Enumeration getAllHeaderLines() throws MessagingException(Code)



getAllHeaders
public Enumeration getAllHeaders() throws MessagingException(Code)



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



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



getContentID
public String getContentID() throws MessagingException(Code)



getContentLanguage
public String[] getContentLanguage() throws MessagingException(Code)



getContentMD5
public String getContentMD5() throws MessagingException(Code)



getContentStream
protected InputStream getContentStream() throws MessagingException(Code)



getContentType
public String getContentType() throws MessagingException(Code)



getDataHandler
public synchronized DataHandler getDataHandler() throws MessagingException(Code)



getDescription
public String getDescription() throws MessagingException(Code)



getDisposition
public String getDisposition() throws MessagingException(Code)



getEncoding
public String getEncoding() throws MessagingException(Code)



getFileName
public String getFileName() throws MessagingException(Code)



getFlags
public synchronized Flags getFlags() throws MessagingException(Code)



getFolder
public Folder getFolder()(Code)



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



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



getHeader
public String getHeader(String name, String delimiter) throws MessagingException(Code)



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



getLineCount
public int getLineCount() throws MessagingException(Code)



getMatchingHeaderLines
public Enumeration getMatchingHeaderLines(String[] names) throws MessagingException(Code)



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



getMessageID
public String getMessageID() throws MessagingException(Code)



getMessageNumber
public int getMessageNumber()(Code)



getNonMatchingHeaderLines
public Enumeration getNonMatchingHeaderLines(String[] names) throws MessagingException(Code)



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



getRawInputStream
public InputStream getRawInputStream() throws MessagingException(Code)



getReceivedDate
public Date getReceivedDate() throws MessagingException(Code)



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



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



getSender
public Address getSender() throws MessagingException(Code)



getSentDate
public Date getSentDate() throws MessagingException(Code)



getSize
public int getSize() throws MessagingException(Code)



getSubject
public String getSubject() throws MessagingException(Code)



isExpunged
public boolean isExpunged()(Code)



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



isSet
public synchronized boolean isSet(Flags.Flag flag) throws MessagingException(Code)



match
public boolean match(SearchTerm searchTerm) throws MessagingException(Code)



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



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



saveChanges
public void saveChanges() throws MessagingException(Code)



setContent
public void setContent(Object object, String mimeType) throws MessagingException(Code)



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



setContentID
public void setContentID(String contentID) throws MessagingException(Code)



setContentLanguage
public void setContentLanguage(String[] contentLanguage) throws MessagingException(Code)



setContentMD5
public void setContentMD5(String value) throws MessagingException(Code)



setDataHandler
public synchronized void setDataHandler(DataHandler dataHandler) throws MessagingException(Code)



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



setDescription
public void setDescription(String description, String charset) throws MessagingException(Code)



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



setExpunged
protected void setExpunged(boolean b)(Code)



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



setFlag
public void setFlag(Flags.Flag flag, boolean set) throws MessagingException(Code)



setFlags
public synchronized void setFlags(Flags flags, boolean set) throws MessagingException(Code)



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



setFrom
public void setFrom() throws MessagingException(Code)



setHeader
public void setHeader(String name, String value) throws MessagingException(Code)



setMessageNumber
protected void setMessageNumber(int i)(Code)



setRecipient
public void setRecipient(Message.RecipientType recipientType, Address address) throws MessagingException(Code)



setRecipients
public void setRecipients(Message.RecipientType recipientType, Address[] addresses) throws MessagingException(Code)



setRecipients
public void setRecipients(Message.RecipientType recipientType, String recipient) throws MessagingException(Code)



setReplyTo
public void setReplyTo(Address[] addresses) throws MessagingException(Code)



setSender
public void setSender(Address address) throws MessagingException(Code)



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



setShouldMatch
public void setShouldMatch(boolean doMatch)(Code)



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



setSubject
public void setSubject(String subject, String charset) throws MessagingException(Code)



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



setText
public void setText(String string, String charset) throws MessagingException(Code)



updateHeaders
protected void updateHeaders() throws MessagingException(Code)



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



writeTo
public void writeTo(OutputStream outputStream, String[] strings) throws IOException, MessagingException(Code)



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