| |
|
| 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. |
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 |
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 |
|
|
|