A C D E F G H I K L M N P R S T U V

A

AddressAction - class com.micromail.action.AddressAction.
This class contains action methods for both the editable address book page and the address selection page
AddressAction() - Constructor for class com.micromail.action.AddressAction
 
AddressBook - class com.micromail.AddressBook.
Represents the user's address book in the SQL database.
AddressBook() - Constructor for class com.micromail.AddressBook
 
AddressBook(String, String, DataSource) - Constructor for class com.micromail.AddressBook
Creates an AddressBook.
AddressBook.Address - class com.micromail.AddressBook.Address.
Represents an individual address book entry
AddressBook.Address(String, String, String) - Constructor for class com.micromail.AddressBook.Address
Creates an address book entry
AttachmentManager - class com.micromail.AttachmentManager.
Manages uploaded attachments during compositon and sending of mail, and attachments arriving from the Mail Server as parts of multipart messages
AttachmentManager(String, String) - Constructor for class com.micromail.AttachmentManager
Creates an AttachmentManager
AttachmentManager.Attachment - class com.micromail.AttachmentManager.Attachment.
Represents a file uploaded from the client, and providea access to the content
AttachmentManager.Attachment(String, File, int, String) - Constructor for class com.micromail.AttachmentManager.Attachment
Constructor
addAddress(String, String, String) - Method in class com.micromail.AddressBook
Adds a new address to the address book, or overwrites an old version
addAttachment(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ComposeAction
Stores an uploaded attachment and returns to the composition page
addressExists(String) - Method in class com.micromail.AddressBook
Determines if an address book entry exists for a specified name

C

ComposeAction - class com.micromail.action.ComposeAction.
Contains actions associated with the message composition page
ComposeAction() - Constructor for class com.micromail.action.ComposeAction
 
com.micromail - package com.micromail
 
com.micromail.action - package com.micromail.action
 
com.micromail.servlet - package com.micromail.servlet
 
compare(Object, Object) - Method in class com.micromail.FolderWrapper.Sort
 
compose(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ComposeAction
Proceeds to the message composition page to start a new message.
copyToFolder(Message) - Method in class com.micromail.FolderWrapper
Adds a Message object to a Folder on the IMAP server, and refreshes this FolderWrapper to reflect the changes on the server
copyToFolder(String, Message) - Method in class com.micromail.MailManager
Copies a message to a folder

D

DATE - Static variable in class com.micromail.FolderWrapper
Specifies sorting by date
DATE_DOWN - Static variable in class com.micromail.FolderWrapper.Sort
 
DATE_UP - Static variable in class com.micromail.FolderWrapper.Sort
 
DOWN - Static variable in class com.micromail.FolderWrapper
Specifies sorting in descending order
DRAFTS - Static variable in class com.micromail.MailManager
Generic identifer for the "Sent" folder
DumpRequest - class com.micromail.DumpRequest.
A standard Filter to log request headers for debugging
DumpRequest() - Constructor for class com.micromail.DumpRequest
 
delete(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.AddressAction
Deletes selected addresses
delete(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.FolderAction
Move selected messages from the current folder to the Trash folder, or delete them completely if the current folder is the Trash folder.
delete(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Deletes the current message
deleteAddress(String) - Method in class com.micromail.AddressBook
Removes the address book entry for a spcified name
deleteAttachment(String) - Method in class com.micromail.AttachmentManager
Removes a single attachment
deleteAttachments() - Method in class com.micromail.AttachmentManager
Deletes the temporary files containing the uploads uploaded from the client, and clears the table Attachment objects.
deleteAttachments(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ComposeAction
Deletes selected attachments and returns to the composition page
deleteFinal(FolderWrapper, Integer[]) - Method in class com.micromail.MailManager
Deletes messages from a folder and creates a new FolderWrapper reflecting the changed content
deleteMessage(MessageWrapper) - Method in class com.micromail.FolderWrapper
Deletes a message
destroy() - Method in class com.micromail.DumpRequest
Standard filter destroy method.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.micromail.DumpRequest
Intercepts the request and logs request parameters.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.micromail.servlet.ErrorDispatcherServlet
Processes "GET" requests
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.micromail.servlet.ErrorDispatcherServlet
Processes "GET" requests

E

ErrorDispatcherServlet - class com.micromail.servlet.ErrorDispatcherServlet.
A Servlet to centralize handling of Struts and JSP errors
ErrorDispatcherServlet() - Constructor for class com.micromail.servlet.ErrorDispatcherServlet
 
edit(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.AddressAction
Prepares a selected address for editing.
equals(Object) - Method in class com.micromail.FolderWrapper.Sort
 
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.GeneralDispatchAction
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.LoginAction
Initiates a session for a logged in user.
execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.NewUserAction
Registers a personal name supplied by a first time user

F

FolderAction - class com.micromail.action.FolderAction.
This class contains action methods for actions initiated on the folder page
FolderAction() - Constructor for class com.micromail.action.FolderAction
 
FolderWrapper - class com.micromail.FolderWrapper.
A wrapper for an IMAP Folder object and its contained messages.
FolderWrapper() - Constructor for class com.micromail.FolderWrapper
Creates an empty folder wrapper
FolderWrapper(String, String, int, String, int, MailManager) - Constructor for class com.micromail.FolderWrapper
Creates a folder wrapper for a specifieds folder
FolderWrapper.Sort - class com.micromail.FolderWrapper.Sort.
Implements the Comparator interface used for sorting message wrappers
FolderWrapper.Sort(int) - Constructor for class com.micromail.FolderWrapper.Sort
 
fetchContent() - Method in class com.micromail.MessageWrapper
Fetches the content of the message from the mail server.
forward(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Forward the message

G

GeneralDispatchAction - class com.micromail.action.GeneralDispatchAction.
An abstract Action which combines the functionality of the Struts DispatchAction and LookupDispatchAction classes.
The execute method is identical to that of LookupDispatchAction, except for the following: if the inverse lookup fails, the execute method of DispatchAction is called.
GeneralDispatchAction() - Constructor for class com.micromail.action.GeneralDispatchAction
 
getAdditionalInfo() - Method in class com.micromail.AddressBook.Address
Gets the additional information string
getAddress(String) - Method in class com.micromail.AddressBook
Gets the Address object for a specified name
getAddresses() - Method in class com.micromail.AddressBook
Gets an Iterator across the map of Address objects
getAllAddresses() - Method in class com.micromail.MessageWrapper
Gets the addresses of the sender and all other recipients, as a formatted string
getAttachmentURLs() - Method in class com.micromail.MessageWrapper
Gets an Iterator across URLs of attachments selctable for download to the client
getAttachments() - Method in class com.micromail.AttachmentManager
Gets an Iterator on the uploaded attachments
getBody() - Method in class com.micromail.MessageWrapper
Gets the message content as a string.
getContent() - Method in class com.micromail.AttachmentManager.Attachment
Gets the attachment contents as an array of bytes
getContentType() - Method in class com.micromail.AttachmentManager.Attachment
Gets the attachment Content Type
getContext() - Method in class com.micromail.MailManager
Gets the application ServletContext object
getDate() - Method in class com.micromail.MessageWrapper
Gets the Sent date as a formatted string
getDateRaw() - Method in class com.micromail.MessageWrapper
Gets the Sent date as a Date object
getDisplayName() - Method in class com.micromail.FolderWrapper
Gets the display name of the folder
getDownloadsURL() - Method in class com.micromail.AttachmentManager
Gets the URL of a directory on the webserver where attachments downloaded from the mail server are stored
getEmail() - Method in class com.micromail.AddressBook.Address
Gets the email address as a string
getEncodedName() - Method in class com.micromail.AddressBook.Address
Gets the URL encoded name
getFile() - Method in class com.micromail.AttachmentManager.Attachment
Gets the File object of the attachment
getFilename() - Method in class com.micromail.MessageWrapper.AttachmentURL
Gets the file name of the attachment
getFolder() - Method in class com.micromail.FolderWrapper
Gets the Folder wrapped by this object
getFolderWrapper(String) - Method in class com.micromail.MailManager
Retrieves a specified Folder object from the from the mail server, and wraps it in a FolderWrapper object
getFolderWrapper() - Method in class com.micromail.MessageWrapper
Gets the FolderWrapper of the Folder object containing the message wrapped by this wrapper
getFrom() - Method in class com.micromail.MessageWrapper
Gets the sender as a string
getId() - Method in class com.micromail.FolderWrapper
Gets the id of the folder as known by the MailManager
getInlineURLs() - Method in class com.micromail.MessageWrapper
Gets an Iterator across the list of local URLs of attachments to be displayed inline in the message body
getKeyMethodMap() - Method in class com.micromail.action.AddressAction
Gets the Map mapping resource string keys to method names within this class
getKeyMethodMap() - Method in class com.micromail.action.ComposeAction
Gets the Map mapping resource string keys to method names within this class
getKeyMethodMap() - Method in class com.micromail.action.FolderAction
Gets the Map mapping resource string keys to method names within this class
getKeyMethodMap() - Method in class com.micromail.action.GeneralDispatchAction
Provides the mapping from resource key to method name.
getKeyMethodMap() - Method in class com.micromail.action.ReadAction
Gets the Map mapping resource string keys to method names within this class
getMailManager() - Method in class com.micromail.FolderWrapper
Gets the MailManager
getMailSession() - Method in class com.micromail.MailManager
Gets the IMAP Session object
getMessage() - Method in class com.micromail.MessageWrapper
Gets the Message object wrapped by this object
getMessageCount() - Method in class com.micromail.FolderWrapper
Gets the number of messages in the folder
getMessageNumber() - Method in class com.micromail.MessageWrapper
Gets the message number of the wrapped Message object
getMessageWrapperByNumber(Integer) - Method in class com.micromail.FolderWrapper
Gets a message specified by its number
getMessageWrappers() - Method in class com.micromail.FolderWrapper
Gets an array of MessageWrapper objects wrapping the Message objects in the folder
getMyAddress() - Method in class com.micromail.AddressBook
Gets the email address of the logged in user
getMyName() - Method in class com.micromail.AddressBook
Gets the personal name of the logged in user
getName() - Method in class com.micromail.AddressBook.Address
Gets the name
getName() - Method in class com.micromail.AttachmentManager.Attachment
Gets the file name
getName() - Method in class com.micromail.FolderWrapper
Gets the name of the folder as known t the IMAP server
getNextMessage(MessageWrapper) - Method in class com.micromail.FolderWrapper
Gets the wrapper of the the message following a specified message, in the current sort order
getNumAttachmentURLs() - Method in class com.micromail.MessageWrapper
Gets the number of URLs of attachments selectable for download to the client
getNumInlineURLs() - Method in class com.micromail.MessageWrapper
Gets the number of local URLs of attachments to be displayed inline in the message body
getNumOtherRecipients() - Method in class com.micromail.MessageWrapper
Gets the number of other recipients
getOtherRecipients() - Method in class com.micromail.MessageWrapper
Gets the addresses of the other recipients as a formatted string
getPasswordAuthentication(String) - Method in class com.micromail.MailManager.MyAuthenticator
Authenticates a username
getPreviousMessage(MessageWrapper) - Method in class com.micromail.FolderWrapper
Gets the wrapper of the the message following a specified message, in the current sort order
getSenderAddress() - Method in class com.micromail.MessageWrapper
Gets the address of the sender as a string
getSession() - Method in class com.micromail.MailManager
Gets the current HttpSession object
getSize() - Method in class com.micromail.AttachmentManager.Attachment
Gets the attachment file size
getSmtpSession() - Method in class com.micromail.MailManager
Getsthe SMTP Session object
getSortIndex() - Method in class com.micromail.MessageWrapper
Gets the sort order index
getStore() - Method in class com.micromail.MailManager
Getsthe IMAP Store object
getSubject() - Method in class com.micromail.MessageWrapper
Gets the subject string
getTo() - Method in class com.micromail.MessageWrapper
Gets the destination address
getURL() - Method in class com.micromail.MessageWrapper.AttachmentURL
Gets the URL string
getfolderWrappers() - Method in class com.micromail.MailManager
Gets an Iterator across te set of FolderWrapper objects
goTo(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.AddressAction
Proceeds to the address book entry/edit page

H

hasDate() - Method in class com.micromail.MessageWrapper
Determines if the message has a Sent date
hasSender() - Method in class com.micromail.MessageWrapper
Determines if the message has a Sender
hasSubject() - Method in class com.micromail.MessageWrapper
Determines if the messaqge has a subject string

I

INBOX - Static variable in class com.micromail.MailManager
Generic identifer for the "Inbox" folder
init(FilterConfig) - Method in class com.micromail.DumpRequest
Standard filter init method.
init() - Method in class com.micromail.servlet.ErrorDispatcherServlet
Fetches the "errorPage" context initialization parameter
insert(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.AddressAction
Inserts selected addresses into the message being composed
isDraftsFolder() - Method in class com.micromail.FolderWrapper
Determines if the wrapped Folder is the Drafts folder
isFirst(int) - Method in class com.micromail.FolderWrapper
Determines if a message is the first in the a list
isFirst() - Method in class com.micromail.MessageWrapper
Determines if the message is the first in the current display order
isHasAttachments() - Method in class com.micromail.AttachmentManager
Determines if
isLast(int) - Method in class com.micromail.FolderWrapper
Determines if the folder contains incoming messages
isLast() - Method in class com.micromail.MessageWrapper
Determines if the message is the last in the current display order
isNew() - Method in class com.micromail.AddressBook
Determines if the address book is a new empty one.
isNew() - Method in class com.micromail.MessageWrapper
Determines if a message body has been viewed at least once
isOutgoing() - Method in class com.micromail.FolderWrapper
Determines if the folder contains outgoing messages
isSortedDateDown() - Method in class com.micromail.FolderWrapper
Determines if the folder is sorted by date in descending order
isSortedDateUp() - Method in class com.micromail.FolderWrapper
Determines if the folder is sorted by date in ascending order
isSortedFromDown() - Method in class com.micromail.FolderWrapper
Determines if the folder is sorted by sender in descending order
isSortedFromUp() - Method in class com.micromail.FolderWrapper
Determines if the folder is sorted by sender in ascending order
isSortedSubjectDown() - Method in class com.micromail.FolderWrapper
Determines if the folder is sorted by subject in descending order
isSortedSubjectUp() - Method in class com.micromail.FolderWrapper
Determines if

K

keyMethodMap - Variable in class com.micromail.action.GeneralDispatchAction
Resource key to method name lookup.

L

LoginAction - class com.micromail.action.LoginAction.
Action object to initialize the application for a logged in user
LoginAction() - Constructor for class com.micromail.action.LoginAction
 
localeMap - Variable in class com.micromail.action.GeneralDispatchAction
Reverse lookup map from resource value to resource key.

M

MailManager - class com.micromail.MailManager.
Manages the connection to the IMAP and SMTP servers and stores the FolderWrapper objects wrapping the standard Folder objects.
MailManager(String, String, HttpSession) - Constructor for class com.micromail.MailManager
Creates a MailManager
MailManager.MyAuthenticator - class com.micromail.MailManager.MyAuthenticator.
Provides user authentication for an SMTP server
MailManager.MyAuthenticator(String) - Constructor for class com.micromail.MailManager.MyAuthenticator
Creates an authenticator
MessageWrapper - class com.micromail.MessageWrapper.
Wraps a Javamail Message object
MessageWrapper(Message, FolderWrapper, MailManager) - Constructor for class com.micromail.MessageWrapper
Creates a message wrapper
MessageWrapper() - Constructor for class com.micromail.MessageWrapper
Creates a message wrapper containing no real message.
MessageWrapper(String, String, String) - Constructor for class com.micromail.MessageWrapper
Creates a message wrapper containing recipients, subject and message body, but without an underlying Message object
MessageWrapper.AttachmentURL - class com.micromail.MessageWrapper.AttachmentURL.
Contains an attachment URL and the filename
MessageWrapper.AttachmentURL(String) - Constructor for class com.micromail.MessageWrapper.AttachmentURL
Creates an AttachmentURL object
moveToTrash(FolderWrapper, Integer[]) - Method in class com.micromail.MailManager
Moves messages from a folder to the Trash foldera and creates a new FolderWrapper reflecting the changed content

N

NewUserAction - class com.micromail.action.NewUserAction.
Actions associate with capturing the personal name of a user who has logged on for the first time
NewUserAction() - Constructor for class com.micromail.action.NewUserAction
 
next(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Move to the next message

P

previous(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Move to the previous message

R

ReadAction - class com.micromail.action.ReadAction.
This class contains action methods for the read page
ReadAction() - Constructor for class com.micromail.action.ReadAction
 
read(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.FolderAction
Retrieves a selected message and proceeds to the read page
refresh(Folder) - Method in class com.micromail.FolderWrapper
Refreshes the wrapper with a new Folder object obtained from the mail server
reply(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Reply to the sender
replyAll(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Reply to sender and other recipients
resumeDraft(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
Restores a draft message to the compose page

S

SENDER - Static variable in class com.micromail.FolderWrapper
Specifies sorting by sender
SENDER_DOWN - Static variable in class com.micromail.FolderWrapper.Sort
 
SENDER_UP - Static variable in class com.micromail.FolderWrapper.Sort
 
SENT - Static variable in class com.micromail.MailManager
Generic identifer for the "Sent" folder
SUBJECT - Static variable in class com.micromail.FolderWrapper
Specifies sorting by subject
SUBJECT_DOWN - Static variable in class com.micromail.FolderWrapper.Sort
 
SUBJECT_UP - Static variable in class com.micromail.FolderWrapper.Sort
 
save(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.AddressAction
Saves a new or updated address book entry
saveDraft(String, String, String, String, String) - Method in class com.micromail.MailManager
Saves a draft of a message.
saveDraft(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ComposeAction
Saves the message in the Drafts folder and proceeds to the drafts folder
selectAddresses(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ComposeAction
Proceeds to the address selection page
selectFolder(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.FolderAction
Selects a folder and proceeds to the folder page
send(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ComposeAction
Sends the composed message and returns to the current folder
sendMessage(String, String, String, String, String, AttachmentManager) - Method in class com.micromail.MailManager
Assembles and sends a message
setBody(String) - Method in class com.micromail.MessageWrapper
Sets the message body
setMessageCount(int) - Method in class com.micromail.FolderWrapper
Sets the number of messages in the folder
setSortIndex(int) - Method in class com.micromail.MessageWrapper
Sets the sort order index
setSubject(String) - Method in class com.micromail.MessageWrapper
Sets the subject string
setTo(String) - Method in class com.micromail.MessageWrapper
Sets the destination address
sort(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.FolderAction
Change the sort order
sortMessages(int) - Method in class com.micromail.FolderWrapper
Creates a TreeMap of references to the MessageWrappers sorted according to a specified order, and tags the MessageWrapper objects with their sort index value
storeUploadedAttachment(FormFile) - Method in class com.micromail.AttachmentManager
Stores the contents of an attachment file uploaded from the client

T

TRASH - Static variable in class com.micromail.MailManager
Generic identifer for the "Trash" folder
TYPE_INCOMING - Static variable in class com.micromail.FolderWrapper
Classification for a folder containing incoming messages
TYPE_OUTGOING - Static variable in class com.micromail.FolderWrapper
Classification for a folder containing outgoing messages
transferAttachments() - Method in class com.micromail.AttachmentManager
Transfers attachment files from the user's download directory to the user's upload directory

U

UP - Static variable in class com.micromail.FolderWrapper
Specifies sorting in ascending order

V

viewPrintable(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - Method in class com.micromail.action.ReadAction
 

A C D E F G H I K L M N P R S T U V