Java Doc for Mailbox.java in  » Blogger-System » blojsom-3.1 » org » blojsom » plugin » moblog » 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 » Blogger System » blojsom 3.1 » org.blojsom.plugin.moblog 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.blojsom.plugin.moblog.Mailbox

Mailbox
public class Mailbox (Code)
Mailbox.

This file is a container for everything the thread will need to connect to and to store into.
author:
   David Czarnecki
author:
   Mark Lussier
version:
   $Id: Mailbox.java,v 1.3 2007/01/17 02:35:11 czarneckid Exp $
since:
   blojsom 3.0




Constructor Summary
public  Mailbox()
     Default constructor.
public  Mailbox(String hostname, String userid, String password)
     Construct a new mailbox for a given hostname, user, and password.

Method Summary
public  MapgetAttachmentMimeTypes()
    
public  StringgetAttachmentMimeTypesAsStringList()
    
public  MapgetAuthorizedAddresses()
    
public  StringgetBlogBaseURL()
    
public  StringgetBlogId()
    
public  StringgetCategoryId()
    
public  StringgetEntriesDirectory()
    
public  StringgetFolder()
    
public  StringgetHostName()
     Retrieve the mailbox hostname Mailbox hostname (e.g.
public  IntegergetId()
    
public  StringgetIgnoreExpression()
    
public  MapgetImageMimeTypes()
    
public  StringgetImageMimeTypesAsStringList()
    
public  StringgetOutputDirectory()
    
public  StringgetPassword()
    
public  StringgetSecretWord()
    
public  MapgetTextMimeTypes()
    
public  StringgetTextMimeTypesAsStringList()
    
public  StringgetUrlPrefix()
     Retrieve the URL prefix for linking to attachments URL prefix (e.g.
public  StringgetUserId()
    
public  booleanisEnabled()
    
public  voidsetAttachmentMimeTypes(Map attachmentMimeTypes)
    
public  voidsetAuthorizedAddresses(Map authorizedAddresses)
    
public  voidsetBlogBaseURL(String blogBaseURL)
    
public  voidsetBlogId(String blogId)
    
public  voidsetCategoryId(String categoryId)
    
public  voidsetEnabled(boolean enabled)
    
public  voidsetEntriesDirectory(String entriesDirectory)
    
public  voidsetFolder(String folder)
    
public  voidsetHostName(String hostName)
     Set the mailbox hostname
Parameters:
  hostName - Mailbox hostname (e.g.
public  voidsetId(Integer id)
    
public  voidsetIgnoreExpression(String ignoreExpression)
    
public  voidsetImageMimeTypes(Map imageMimeTypes)
    
public  voidsetOutputDirectory(String outputDirectory)
    
public  voidsetPassword(String password)
    
public  voidsetSecretWord(String secretWord)
     Set the secret word for this mailbox.
public  voidsetTextMimeTypes(Map textMimeTypes)
    
public  voidsetUrlPrefix(String urlPrefix)
     Set the URL prefix for linking to attachments
Parameters:
  urlPrefix - (e.g.
public  voidsetUserId(String userId)
    


Constructor Detail
Mailbox
public Mailbox()(Code)
Default constructor.



Mailbox
public Mailbox(String hostname, String userid, String password)(Code)
Construct a new mailbox for a given hostname, user, and password.
Parameters:
  hostname - Mailbox hostname
Parameters:
  userid - Mailbox user id
Parameters:
  password - Mailbox user password




Method Detail
getAttachmentMimeTypes
public Map getAttachmentMimeTypes()(Code)
Retrieve the Map of attachment mime-types Map of image mime-types



getAttachmentMimeTypesAsStringList
public String getAttachmentMimeTypesAsStringList()(Code)
Retrieve the accepted attachment MIME types as a string list String list of accepted attachment mime types



getAuthorizedAddresses
public Map getAuthorizedAddresses()(Code)
Retrieve the authorized e-mail from addresses for this mailbox Authorized e-mail from addresses for this mailbox



getBlogBaseURL
public String getBlogBaseURL()(Code)
Get the blog base URL Blog base URL



getBlogId
public String getBlogId()(Code)
Get the blog ID Blog ID



getCategoryId
public String getCategoryId()(Code)
Retrieve the category ID for new moblog entries Category ID



getEntriesDirectory
public String getEntriesDirectory()(Code)
Retrive the directory where new blog entries will be created Entries directory



getFolder
public String getFolder()(Code)
Retrieve the mail folder Mail folder



getHostName
public String getHostName()(Code)
Retrieve the mailbox hostname Mailbox hostname (e.g. mail.domain.com)



getId
public Integer getId()(Code)
Get the ID of the blog ID of the blog



getIgnoreExpression
public String getIgnoreExpression()(Code)
Retrieve the regular expression for ignoring bits of text Regular expression for ignoring bits of text



getImageMimeTypes
public Map getImageMimeTypes()(Code)
Retrieve the Map of image mime-types Map of image mime-types



getImageMimeTypesAsStringList
public String getImageMimeTypesAsStringList()(Code)
Retrieve the accepted image MIME types as a string list String list of accepted image mime types



getOutputDirectory
public String getOutputDirectory()(Code)
Retrieve the output directory where attachments will be written Output directory



getPassword
public String getPassword()(Code)
Retrieve the mailbox user password Mailbox user password



getSecretWord
public String getSecretWord()(Code)
Retrieve the secret word for this mailbox Secret word which must be present at the start of the subject of the e-mail



getTextMimeTypes
public Map getTextMimeTypes()(Code)
Retrieve the Map of text mime-types Map of image mime-types



getTextMimeTypesAsStringList
public String getTextMimeTypesAsStringList()(Code)
Retrieve the accepted text MIME types as a string list String list of accepted text mime types



getUrlPrefix
public String getUrlPrefix()(Code)
Retrieve the URL prefix for linking to attachments URL prefix (e.g. http://www.blog.com/resources/)



getUserId
public String getUserId()(Code)
Retreive the mailbox user id Mailbox user id



isEnabled
public boolean isEnabled()(Code)
Retrieve whether or not this mailbox is enabled true if the mailbox is enabled, false otherwise



setAttachmentMimeTypes
public void setAttachmentMimeTypes(Map attachmentMimeTypes)(Code)
Set the Map of attachment mime-types
Parameters:
  attachmentMimeTypes - Map of attachment mime-types



setAuthorizedAddresses
public void setAuthorizedAddresses(Map authorizedAddresses)(Code)
Set the authorized e-mail from addresses for this mailbox
Parameters:
  authorizedAddresses - Authorized e-mail from addresses for this mailbox



setBlogBaseURL
public void setBlogBaseURL(String blogBaseURL)(Code)
Set the blog base URL
Parameters:
  blogBaseURL - Blog base URL



setBlogId
public void setBlogId(String blogId)(Code)
Set the blog ID
Parameters:
  blogId - Blog ID



setCategoryId
public void setCategoryId(String categoryId)(Code)
Set the category ID for new moblog entries
Parameters:
  categoryId - Category ID



setEnabled
public void setEnabled(boolean enabled)(Code)
Set whether or not this mailbox is enabled
Parameters:
  enabled - true if the mailbox is enabled, false otherwise



setEntriesDirectory
public void setEntriesDirectory(String entriesDirectory)(Code)
Set the directory where new blog entries will be created
Parameters:
  entriesDirectory - Entries directory



setFolder
public void setFolder(String folder)(Code)
Set the mail folder
Parameters:
  folder - Mail folder



setHostName
public void setHostName(String hostName)(Code)
Set the mailbox hostname
Parameters:
  hostName - Mailbox hostname (e.g. mail.domain.com)



setId
public void setId(Integer id)(Code)
Set the ID of the blog
Parameters:
  id - ID of the blog



setIgnoreExpression
public void setIgnoreExpression(String ignoreExpression)(Code)
Set the regular expression for ignoring bits of text
Parameters:
  ignoreExpression - Regular expression for ignoring bits of text



setImageMimeTypes
public void setImageMimeTypes(Map imageMimeTypes)(Code)
Set the Map of image mime-types
Parameters:
  imageMimeTypes - Map of image mime-types



setOutputDirectory
public void setOutputDirectory(String outputDirectory)(Code)
Set the output directory where attachments will be written
Parameters:
  outputDirectory - Output directory



setPassword
public void setPassword(String password)(Code)
Set the mailbox user password
Parameters:
  password - Mailbox user password



setSecretWord
public void setSecretWord(String secretWord)(Code)
Set the secret word for this mailbox.
Parameters:
  secretWord - Secret word which must be present at the start of the subject of the e-mail



setTextMimeTypes
public void setTextMimeTypes(Map textMimeTypes)(Code)
Set the Map of text mime-types
Parameters:
  textMimeTypes - Map of text mime-types



setUrlPrefix
public void setUrlPrefix(String urlPrefix)(Code)
Set the URL prefix for linking to attachments
Parameters:
  urlPrefix - (e.g. http://www.blog.com/resources/)



setUserId
public void setUserId(String userId)(Code)
Set the mailbox user id
Parameters:
  userId - Mailbox user id



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.