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


java.lang.Object
   org.apache.james.fetchmail.ProcessorAbstract
      org.apache.james.fetchmail.FolderProcessor

FolderProcessor
public class FolderProcessor extends ProcessorAbstract (Code)

Class FolderProcessor opens a Folder and iterates over all of the Messages, delegating their processing to MessageProcessor.

If isRecurse(), all subfolders are fetched recursively.

Creation Date: 25-May-03




Constructor Summary
protected  FolderProcessor(Folder folder, Account account)
     Constructor for FolderProcessor.

Method Summary
protected  voidclose()
     Method close.
protected  BooleancomputeMarkSeenPermanent()
     Answer the result of computing markSeenPermanent.
protected  FoldergetFolder()
     Returns the folder.
protected  booleanhandleMarkSeenNotPermanent(MimeMessage aMessage)
    

Handler for when the folder does not support the SEEN flag.

protected  BooleanisMarkSeenPermanent()
     Returns the isMarkSeenPermanent.
protected  booleanisSeen(MimeMessage aMessage)
     Answer if aMessage has been SEEN.
protected  voidopen()
     Method open.
public  voidprocess()
     Method process opens a Folder, fetches the Envelopes for all of its Messages, creates a MessageProcessor and runs it to process each message.
protected  voidrecurse()
     Method recurse.
protected  voidsetFolder(Folder folder)
     Sets the folder.
protected  voidsetMarkSeenPermanent(Boolean markSeenPermanent)
     Sets the markSeenPermanent.
protected  voidupdateMarkSeenPermanent()
     Updates the markSeenPermanent.


Constructor Detail
FolderProcessor
protected FolderProcessor(Folder folder, Account account)(Code)
Constructor for FolderProcessor.
Parameters:
  folder - The folder to be fetched
Parameters:
  account - The account being processed




Method Detail
close
protected void close() throws MessagingException(Code)
Method close.
throws:
  MessagingException -



computeMarkSeenPermanent
protected Boolean computeMarkSeenPermanent()(Code)
Answer the result of computing markSeenPermanent. Boolean



getFolder
protected Folder getFolder()(Code)
Returns the folder. Folder



handleMarkSeenNotPermanent
protected boolean handleMarkSeenNotPermanent(MimeMessage aMessage) throws MessagingException(Code)

Handler for when the folder does not support the SEEN flag. The default behaviour implemented here is to answer the value of the SEEN flag anyway.

Subclasses may choose to override this method and implement their own solutions.


Parameters:
  aMessage - boolean
throws:
  MessagingException -



isMarkSeenPermanent
protected Boolean isMarkSeenPermanent()(Code)
Returns the isMarkSeenPermanent. Boolean



isSeen
protected boolean isSeen(MimeMessage aMessage) throws MessagingException(Code)
Answer if aMessage has been SEEN.
Parameters:
  aMessage - boolean
throws:
  MessagingException -



open
protected void open() throws MessagingException(Code)
Method open.
throws:
  MessagingException -



process
public void process() throws MessagingException(Code)
Method process opens a Folder, fetches the Envelopes for all of its Messages, creates a MessageProcessor and runs it to process each message.
See Also:   org.apache.james.fetchmail.ProcessorAbstract.process



recurse
protected void recurse() throws MessagingException(Code)
Method recurse.
throws:
  MessagingException -



setFolder
protected void setFolder(Folder folder)(Code)
Sets the folder.
Parameters:
  folder - The folder to set



setMarkSeenPermanent
protected void setMarkSeenPermanent(Boolean markSeenPermanent)(Code)
Sets the markSeenPermanent.
Parameters:
  markSeenPermanent - The isMarkSeenPermanent to set



updateMarkSeenPermanent
protected void updateMarkSeenPermanent()(Code)
Updates the markSeenPermanent.



Methods inherited from org.apache.james.fetchmail.ProcessorAbstract
protected String computeAttributePrefix()(Code)(Java Doc)
public Account getAccount()(Code)(Java Doc)
protected String getAttributePrefix()(Code)(Java Doc)
protected Set getBlacklist()(Code)(Java Doc)
protected ParsedConfiguration getConfiguration()(Code)(Java Doc)
protected String getCustomRecipientHeader()(Code)(Java Doc)
protected String getDefaultDomainName()(Code)(Java Doc)
protected String getDefaultLocalPart()(Code)(Java Doc)
protected List getDeferredRecipientNotFoundMessageIDs()(Code)(Java Doc)
protected String getFetchTaskName()(Code)(Java Doc)
protected String getHost()(Code)(Java Doc)
protected String getJavaMailFolderName()(Code)(Java Doc)
protected String getJavaMailProviderName()(Code)(Java Doc)
protected UsersRepository getLocalUsers()(Code)(Java Doc)
protected Logger getLogger()(Code)(Java Doc)
protected int getMaxMessageSizeLimit()(Code)(Java Doc)
protected String getPassword()(Code)(Java Doc)
protected MailAddress getRecipient()(Code)(Java Doc)
protected int getRemoteReceivedHeaderIndex()(Code)(Java Doc)
protected MailServer getServer()(Code)(Java Doc)
protected Session getSession()(Code)(Java Doc)
protected String getUser()(Code)(Java Doc)
protected boolean isDeferRecipientNotFound()(Code)(Java Doc)
protected boolean isFetchAll()(Code)(Java Doc)
protected boolean isIgnoreRecipientHeader()(Code)(Java Doc)
protected boolean isLeave()(Code)(Java Doc)
protected boolean isLeaveBlacklisted()(Code)(Java Doc)
protected boolean isLeaveMaxMessageSizeExceeded()(Code)(Java Doc)
protected boolean isLeaveRecipientNotFound()(Code)(Java Doc)
protected boolean isLeaveRemoteReceivedHeaderInvalid()(Code)(Java Doc)
protected boolean isLeaveRemoteRecipient()(Code)(Java Doc)
protected boolean isLeaveUndeliverable()(Code)(Java Doc)
protected boolean isLeaveUserUndefined()(Code)(Java Doc)
protected boolean isMarkBlacklistedSeen()(Code)(Java Doc)
protected boolean isMarkMaxMessageSizeExceededSeen()(Code)(Java Doc)
protected boolean isMarkRecipientNotFoundSeen()(Code)(Java Doc)
protected boolean isMarkRemoteReceivedHeaderInvalidSeen()(Code)(Java Doc)
protected boolean isMarkRemoteRecipientSeen()(Code)(Java Doc)
protected boolean isMarkSeen()(Code)(Java Doc)
protected boolean isMarkUndeliverableSeen()(Code)(Java Doc)
protected boolean isMarkUserUndefinedSeen()(Code)(Java Doc)
protected boolean isOpenReadOnly()(Code)(Java Doc)
protected boolean isRecurse()(Code)(Java Doc)
protected boolean isRejectBlacklisted()(Code)(Java Doc)
protected boolean isRejectMaxMessageSizeExceeded()(Code)(Java Doc)
protected boolean isRejectRecipientNotFound()(Code)(Java Doc)
protected boolean isRejectRemoteReceivedHeaderInvalid()(Code)(Java Doc)
protected boolean isRejectRemoteRecipient()(Code)(Java Doc)
protected boolean isRejectUserUndefined()(Code)(Java Doc)
abstract public void process() throws MessagingException(Code)(Java Doc)
protected void setAccount(Account account)(Code)(Java Doc)
protected void setAttributePrefix(String attributePrefix)(Code)(Java Doc)
protected void updateAttributePrefix()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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