Java Doc for IMAPFolder.java in  » Mail-Clients » columba-1.4 » org » columba » mail » folder » imap » 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 » Mail Clients » columba 1.4 » org.columba.mail.folder.imap 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.columba.mail.folder.AbstractRemoteFolder
   org.columba.mail.folder.imap.IMAPFolder

IMAPFolder
public class IMAPFolder extends AbstractRemoteFolder (Code)


Field Summary
protected  booleanexistsOnServer
    

Constructor Summary
public  IMAPFolder(IPersistantHeaderList headerList, IImapServer server)
    
public  IMAPFolder(FolderItem folderItem, String path)
    
public  IMAPFolder(String name, String type, String path)
    

Method Summary
public  ObjectaddMessage(InputStream in, Attributes attributes, Flags flags)
    
public  ObjectaddMessage(InputStream in)
    
public  voidaddSubfolder(IMailFolder child)
    
public  voidexpungeFolder()
    
 voidfetchDone()
    
 ListfetchNewMessages(int startIndex)
    
public  HeadergetAllHeaderFields(Object uid)
    
public static  XmlElementgetDefaultProperties()
    
public  HeadergetHeaderFields(Object uid, String[] keys)
    
public synchronized  IHeaderListgetHeaderList()
    
protected  ImapItemgetImapItem()
    
public  StringgetImapPath()
     Method getImapPath.
public  IColumbaHeadergetMessageHeader(Object uid)
    
public  InputStreamgetMessageSourceStream(Object uid)
    
public  InputStreamgetMimePartBodyStream(Object uid, Integer[] address)
    
public  InputStreamgetMimePartSourceStream(Object uid, Integer[] address)
    
public  MimeTreegetMimePartTree(Object uid)
    
public  IStatusObservablegetObservable()
    
public  DefaultSearchEnginegetSearchEngine()
    
public  IImapServergetServer()
     Method getStore.
public  voidinnerCopy(IMailbox destiny, Object[] uids)
     Copies a set of messages from this folder to a destination folder.

The IMAP copy command also keeps the flags intact.

public  booleanisInboxFolder()
    
public  booleanisMailboxSyncEnabled()
    
public  booleanisReadOnly()
    
public  booleanisTrashFolder()
    
public  voidmarkMessage(Object[] uids, int variant)
    
protected  voidprintStatusMessage(String message)
    
public  voidreleaseLock(Object locker)
    
public  voidremoveFolder()
    
public  voidsave()
    
protected  voidsetFlags(Flags[] flagsList)
     Method updateFlags.
public  voidsetMailboxSyncEnabled(boolean mailboxSyncEnabled)
    
protected  voidsetMaximum(int progress)
    
public  voidsetName(String name)
    
protected  voidsetProgress(int progress)
    
public  voidsetReadOnly(boolean readOnly)
    
public  booleansupportsAddFolder(String folder)
    
 Object[]synchronizeHeaderlist()
    
public  booleantryToGetLock(Object locker)
    
public  voidupdateFlag(IMAPFlags flag)
     This is called from the UpdateFlagCommand which gets triggered from an unexpected flags updated.

Field Detail
existsOnServer
protected boolean existsOnServer(Code)




Constructor Detail
IMAPFolder
public IMAPFolder(IPersistantHeaderList headerList, IImapServer server)(Code)
Constructor for testing purposes only!



IMAPFolder
public IMAPFolder(FolderItem folderItem, String path)(Code)

See Also:   org.columba.mail.folder.FolderTreeNode.FolderTreeNode(org.columba.mail.config.FolderItem)



IMAPFolder
public IMAPFolder(String name, String type, String path) throws Exception(Code)

Parameters:
  type -




Method Detail
addMessage
public Object addMessage(InputStream in, Attributes attributes, Flags flags) throws Exception(Code)



addMessage
public Object addMessage(InputStream in) throws Exception(Code)



addSubfolder
public void addSubfolder(IMailFolder child) throws Exception(Code)



expungeFolder
public void expungeFolder() throws Exception(Code)

See Also:   org.columba.mail.folder.Folder.expungeFolder(java.lang.Objectorg.columba.api.command.IWorkerStatusController)



fetchDone
void fetchDone() throws IOException, CommandCancelledException, IMAPException, Exception(Code)



fetchNewMessages
List fetchNewMessages(int startIndex) throws IOException, IMAPException, CommandCancelledException, Exception(Code)



getAllHeaderFields
public Header getAllHeaderFields(Object uid) throws Exception(Code)

See Also:   org.columba.mail.folder.IMailbox.getAllHeaderFields(java.lang.Object)



getDefaultProperties
public static XmlElement getDefaultProperties()(Code)

See Also:   org.columba.mail.folder.FolderTreeNode.getDefaultProperties



getHeaderFields
public Header getHeaderFields(Object uid, String[] keys) throws Exception(Code)



getHeaderList
public synchronized IHeaderList getHeaderList() throws Exception(Code)

See Also:   org.columba.mail.folder.Folder.getHeaderList(org.columba.api.command.IWorkerStatusController)



getImapItem
protected ImapItem getImapItem()(Code)



getImapPath
public String getImapPath() throws IOException, IMAPException, CommandCancelledException(Code)
Method getImapPath. String



getMessageHeader
public IColumbaHeader getMessageHeader(Object uid) throws Exception(Code)

See Also:   org.columba.mail.folder.Folder.getMessageHeader(java.lang.Objectorg.columba.api.command.IWorkerStatusController)



getMessageSourceStream
public InputStream getMessageSourceStream(Object uid) throws Exception(Code)



getMimePartBodyStream
public InputStream getMimePartBodyStream(Object uid, Integer[] address) throws Exception(Code)

See Also:   org.columba.mail.folder.IMailbox.getMimePartBodyStream(java.lang.Objectjava.lang.Integer[])



getMimePartSourceStream
public InputStream getMimePartSourceStream(Object uid, Integer[] address) throws Exception(Code)



getMimePartTree
public MimeTree getMimePartTree(Object uid) throws Exception(Code)

See Also:   org.columba.mail.folder.Folder.getMimeTree(java.lang.ObjectIMAPFolder)



getObservable
public IStatusObservable getObservable()(Code)



getSearchEngine
public DefaultSearchEngine getSearchEngine()(Code)

See Also:   org.columba.mail.folder.Folder.getSearchEngineInstance



getServer
public IImapServer getServer()(Code)
Method getStore. IMAPStore



innerCopy
public void innerCopy(IMailbox destiny, Object[] uids) throws Exception(Code)
Copies a set of messages from this folder to a destination folder.

The IMAP copy command also keeps the flags intact. So, there's no need to change these manually.
See Also:   org.columba.mail.folder.Folder.innerCopy(org.columba.mail.folder.IMailboxjava.lang.Objectorg.columba.api.command.IWorkerStatusController)




isInboxFolder
public boolean isInboxFolder()(Code)



isMailboxSyncEnabled
public boolean isMailboxSyncEnabled()(Code)
Returns the mailboxSyncEnabled.



isReadOnly
public boolean isReadOnly()(Code)

See Also:   org.columba.mail.folder.IMailbox.isReadOnly



isTrashFolder
public boolean isTrashFolder()(Code)



markMessage
public void markMessage(Object[] uids, int variant) throws Exception(Code)

See Also:   org.columba.mail.folder.Folder.markMessage(java.lang.ObjectintIMAPFolder)



printStatusMessage
protected void printStatusMessage(String message)(Code)



releaseLock
public void releaseLock(Object locker)(Code)

See Also:   org.columba.mail.folder.FolderTreeNode.releaseLock



removeFolder
public void removeFolder() throws Exception(Code)

See Also:   org.columba.mail.folder.FolderTreeNode.removeFolder



save
public void save() throws Exception(Code)



setFlags
protected void setFlags(Flags[] flagsList) throws Exception(Code)
Method updateFlags.
Parameters:
  flagsList -



setMailboxSyncEnabled
public void setMailboxSyncEnabled(boolean mailboxSyncEnabled)(Code)

Parameters:
  mailboxSyncEnabled - The mailboxSyncEnabled to set.



setMaximum
protected void setMaximum(int progress)(Code)



setName
public void setName(String name) throws Exception(Code)



setProgress
protected void setProgress(int progress)(Code)



setReadOnly
public void setReadOnly(boolean readOnly)(Code)

Parameters:
  readOnly - The readOnly to set.



supportsAddFolder
public boolean supportsAddFolder(String folder)(Code)

See Also:   org.columba.mail.folder.AbstractFolder.supportsAddFolder



synchronizeHeaderlist
Object[] synchronizeHeaderlist() throws Exception, IOException, CommandCancelledException, IMAPException(Code)

throws:
  Exception -
throws:
  IOException -
throws:
  CommandCancelledException -
throws:
  IMAPException -



tryToGetLock
public boolean tryToGetLock(Object locker)(Code)

See Also:   org.columba.mail.folder.FolderTreeNode.tryToGetLock(java.lang.Object)



updateFlag
public void updateFlag(IMAPFlags flag) throws Exception, CommandCancelledException(Code)
This is called from the UpdateFlagCommand which gets triggered from an unexpected flags updated.
Parameters:
  flag -
throws:
  IOException -
throws:
  CommandCancelledException -
throws:
  IMAPException -




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