OOP MailScheduler Version 2.7
A C D E G I L M N O P Q R S T U W

A

addBccAddress(String, String) - Method in class com.bentofw.mail.SmtpMessage
Add the BCC e-mail address and personal name of this message.
addCcAddress(String, String) - Method in class com.bentofw.mail.SmtpMessage
Add the CC e-mail address and personal name of this message.
addMessage(MessageHeader) - Method in class com.bentofw.mail.MessageList
Add the information of one Message to this list.
addToAddress(String, String) - Method in class com.bentofw.mail.SmtpMessage
Add the TO e-mail address and personal name of this message.
ASCEND - Static variable in class com.bentofw.mail.MessageList
Please use this as the parameter of MessageList.sort(int).
AttacheDataSource - Class in com.bentofw.mail
The implementation of javax.activation.DataSource interface, which represents the file attachement to the e-mail.
AttacheDataSource(byte[], String, String) - Constructor for class com.bentofw.mail.AttacheDataSource
The constructor.
attacheFile(String) - Method in class com.bentofw.mail.SmtpMessage
Attach the file to this message.
attacheFile(byte[], String, String) - Method in class com.bentofw.mail.SmtpMessage
Attache the file contents to this message.

C

cancel(long, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Mark the e-mail to be canceled.
cancelAll(String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Mark the e-mails to be canceled.
CANCELED - Static variable in class com.bentofw.mail.MessageList
Indicates that the queued message was canceled.
CharsetForMail - Class in com.bentofw.mail
Utility to guess the mail-safe charset from the given Locale.
CharsetForMail() - Constructor for class com.bentofw.mail.CharsetForMail
 
com.bentofw.mail - package com.bentofw.mail
The classes and interfaces required for APIs by OOP-Research.
com.bentofw.mail.scheduler - package com.bentofw.mail.scheduler
Queues the e-mails and send them at the scheduled time.
com.bentofw.util - package com.bentofw.util
The classes and interfaces required for APIs by OOP-Research.

D

DESCEND - Static variable in class com.bentofw.mail.MessageList
Please use this as the parameter of MessageList.sort(int).
DRAFT - Static variable in class com.bentofw.mail.MessageList
Indicates that the message is written, but not sent yet.

E

ERROR - Static variable in class com.bentofw.mail.MessageList
Indicates that the queued message was not sent due to the error.
EscapeString - Class in com.bentofw.util
Utility for web applications, which returns the escaped String.
EscapeString() - Constructor for class com.bentofw.util.EscapeString
 

G

GenericLogger - Interface in com.bentofw.util
Interface for logging.
getAttachement(int) - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the instances of DataSource specified by the index.
getAttachement() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the array of the instances of DataSource, each of which represents the file attachement to this e-mail.
getAttachement(int) - Method in class com.bentofw.mail.SmtpMessage
Return the instances of DataSource specified by the index.
getAttachement() - Method in class com.bentofw.mail.SmtpMessage
Return the array of the instances of DataSource, each of which represents the file attachement to this e-mail.
getAttachementName(int) - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the name of the file attachement specified by the index.
getAttachementName(int) - Method in class com.bentofw.mail.SmtpMessage
Return the name of the file attachement specified by the index.
getAttachementType(int) - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the Content-type of the file attachement specified by the index.
getAttachementType(int) - Method in class com.bentofw.mail.SmtpMessage
Return the Content-type of the file attachement specified by the index.
getBccAddress() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the array of BCC e-mail address of this message.
getBccAddress() - Method in class com.bentofw.mail.SmtpMessage
Returns the array of BCC e-mail address of this message.
getBccName() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the address of BCC personal name of this message.
getBccName() - Method in class com.bentofw.mail.SmtpMessage
Returns the address of BCC personal name of this message.
getBody() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the body text of this message.
getBody() - Method in class com.bentofw.mail.SmtpMessage
Returns the body text of this message.
getCcAddress() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the array of CC e-mail address of this message.
getCcAddress() - Method in class com.bentofw.mail.SmtpMessage
Returns the array of CC e-mail address of this message.
getCcName() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the address of CC personal name of this message.
getCcName() - Method in class com.bentofw.mail.SmtpMessage
Returns the address of CC personal name of this message.
getCharset(Locale) - Static method in class com.bentofw.mail.CharsetForMail
Gets the preferred charset for the given Locale, or ISO-8859-1 if the charset is not found.
getCharset() - Method in class com.bentofw.mail.SmtpMessage
Returns the charset of this message if it was set by setCharset(String).
getContentType() - Method in class com.bentofw.mail.AttacheDataSource
Returns the Content-Type of the file attachement.
getCurrentTime(String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the String which represents the current time.
getDate(int) - Method in class com.bentofw.mail.MessageList
Return the String representing when the message was sent.
getDefaultEncoding(String) - Static method in class com.bentofw.mail.CharsetForMail
Returns the perferred charset for the given language code, or ISO-8859-1 if the charset is not found.
getErrorMessage(long, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the error message of the e-mail specified by the pair of the ID and user name.
getErrorMessage() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the error message of the e-mail.
getEscaped(String) - Static method in class com.bentofw.util.EscapeString
Escape the String.
getFromAddress() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the FROM e-mail address of this message.
getFromAddress() - Method in class com.bentofw.mail.SmtpMessage
Returns the FROM e-mail address of this message.
getFromName(int) - Method in class com.bentofw.mail.MessageList
Return the name of sender in the Message specified by the index.
getFromName() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the FROM personal name of this message.
getFromName() - Method in class com.bentofw.mail.SmtpMessage
Returns the FROM personal name of this message.
getHTMLTable(String, String, int, int) - Method in class com.bentofw.mail.MessageList
Return the HTML table, which lists the messages.
getIdOfDraft() - Method in class com.bentofw.mail.SmtpMessage
Return the message ID of the original Draft message.
getIdOfIncomming() - Method in class com.bentofw.mail.SmtpMessage
Return the message ID of the original in-comming message.
getInputStream() - Method in class com.bentofw.mail.AttacheDataSource
The InputStream to the binary contents of the file attachement.
getInstance(MailSender) - Static method in class com.bentofw.mail.scheduler.MailScheduler
Reads the property file and returns the instance of this class.
getInstance() - Static method in class com.bentofw.mail.scheduler.MailScheduler
Returns the instance of this class.
getInstance() - Static method in class com.bentofw.mail.scheduler.SimpleSMTP
Reads the property file and returns the instance of this class.
getLocale(String) - Static method in class com.bentofw.mail.CharsetForMail
Given the String of LANG_COUNTRY_VARIANT, the instance Locale will be returned.
getMessage() - Method in exception com.bentofw.mail.scheduler.InvalidOperationException
 
getMessage() - Method in exception com.bentofw.mail.scheduler.MessageNotFoundException
 
getMessage() - Method in exception com.bentofw.mail.scheduler.NowSendingException
 
getMessage() - Method in exception com.bentofw.util.NestedException
Returns the error message of original Throwable.
getMessageCount() - Method in class com.bentofw.mail.MessageList
Return the number of the messages in this object.
getMessageCount(String, boolean) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the number of queued messages.
getMessageId(int) - Method in class com.bentofw.mail.MessageList
Returns the ID of the message specified by the index.
getMessageInQueue(int) - Method in class com.bentofw.mail.MessageList
Return the String representing the message from MailScheduler.
getMessageList(String, boolean, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the instance of MessageList.
getMessageList(String, boolean, String, int, int) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the instance of MessageList.
getMessageType(int) - Method in class com.bentofw.mail.MessageList
Return the int for the type of the message specified by the index.
getMimeMessage(Session) - Method in class com.bentofw.mail.SmtpMessage
Given the instance of JavaMail Session, returns the instance of MimeMessage.
getName() - Method in class com.bentofw.mail.AttacheDataSource
Returns the file name of the file attachement.
getNumberOfAttachement() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the number of the files attached to this e-mail.
getNumberOfAttachement() - Method in class com.bentofw.mail.SmtpMessage
Return the number of the files attached to this e-mail.
getOriginal() - Method in exception com.bentofw.util.NestedException
Returns the original Throwable.
getOutputStream() - Method in class com.bentofw.mail.AttacheDataSource
Returns always null.
getQueuedMessage(long, String, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the instance of QueuedMessage, which represents the properties of the queued e-mail.
getReplyToAddress() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the REPLY_TO e-mail address of this message.
getReplyToAddress() - Method in class com.bentofw.mail.SmtpMessage
Returns the REPLY_TO e-mail address of this message.
getReplyToName() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the REPLY_TO personal name of this message.
getReplyToName() - Method in class com.bentofw.mail.SmtpMessage
Returns the REPLY_TO personal name of this message.
getScheduledTime(long, String, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the String which represents the time when the e-mail will be sent.
getScheduledTime() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the String which represents the time when the e-mail will be sent.
getSmtpMessage(long, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the instance of SmtpMessage in the queue.
getState(long, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the int value which represents the state of the e-mail specified by the pair of the ID and user name.
getState() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the int value which represents the state of the e-mail.
getStateInQueue(int) - Method in class com.bentofw.mail.MessageList
Return the int for the status of the queued message.
getSubject(int) - Method in class com.bentofw.mail.MessageList
Return the subject of the Message specified by the index.
getSubject() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the subject of this message.
getSubject() - Method in class com.bentofw.mail.SmtpMessage
Returns the subject of this message.
getTimeZoneIDs() - Static method in class com.bentofw.util.TimeZoneIDs
Return all the available time zone IDs in the long format, such as America/New_York or Asia/Tokyo, in addition to GMT.
getTimeZoneOptions(String) - Static method in class com.bentofw.util.TimeZoneIDs
Return the lines of OPTION tags for Selection tag, which list most of the available time zone IDs.
getTimeZoneOptionsForXhtml(String) - Static method in class com.bentofw.util.TimeZoneIDs
Equivalent to getTimeZoneOptions(String), but returns the tags for XHTML.
getToAddress() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the TO e-mail address of this message.
getToAddress() - Method in class com.bentofw.mail.SmtpMessage
Returns the TO e-mail address of this message.
getToName(int) - Method in class com.bentofw.mail.MessageList
Return the name of recipient in the Message specified by the index.
getToName() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Returns the TO personal name of this message.
getToName() - Method in class com.bentofw.mail.SmtpMessage
Returns the TO personal name of this message.
getTryCount(long, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return how many times this class tried to send the e-mail.
getTryCount() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return how many times this API tried to send the e-mail.
getUpdatedTime(long, String, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Return the String which represents the time when the state of the e-mail was updated.
getUpdatedTime() - Method in class com.bentofw.mail.scheduler.QueuedMessage
Return the String which represents the time when the state of the e-mail was updated.
getUser() - Method in class com.bentofw.mail.SmtpMessage
Return the user name.

I

IN - Static variable in class com.bentofw.mail.MessageList
Indicates that the message is the received one.
InvalidOperationException - Exception in com.bentofw.mail.scheduler
Thrown if the intended operation is not allowed on the specified message.
InvalidOperationException() - Constructor for exception com.bentofw.mail.scheduler.InvalidOperationException
 

L

log(Level, String, String, String) - Method in interface com.bentofw.util.GenericLogger
Log a message, specifying source class and method.
log(Level, String, String, String, Throwable) - Method in interface com.bentofw.util.GenericLogger
Log a message, specifying source class and method, with associated Throwable information.
log(Level, String, String, String) - Method in class com.bentofw.util.Logger4Jcl
Log a message, specifying source class and method.
log(Level, String, String, String, Throwable) - Method in class com.bentofw.util.Logger4Jcl
Log a message, specifying source class and method, with associated Throwable information.
log(Level, String, String, String) - Method in class com.bentofw.util.Logger4Jdk
Log a message, specifying source class and method.
log(Level, String, String, String, Throwable) - Method in class com.bentofw.util.Logger4Jdk
Log a message, specifying source class and method, with associated Throwable information.
Logger4Jcl - Class in com.bentofw.util
GenericLogger implementation for Apache Common Logging API.
Logger4Jcl(Log) - Constructor for class com.bentofw.util.Logger4Jcl
Constructor that takes Log object in Apache Common Logging API.
Logger4Jdk - Class in com.bentofw.util
GenericLogger implementation for Java Logging API that is introduced in JDK 1.4 .
Logger4Jdk(Logger) - Constructor for class com.bentofw.util.Logger4Jdk
Constructor that takes Logger object in Java Logging API.

M

MailScheduler - Class in com.bentofw.mail.scheduler
Queues the e-mails and send them at the scheduled time.
MailSender - Interface in com.bentofw.mail
Interface for sending the e-mail message.
MessageHeader - Class in com.bentofw.mail
The message header of each message.
MessageHeader(int, long, String, long, String, String, String, boolean, boolean, int, String) - Constructor for class com.bentofw.mail.MessageHeader
The constructor.
MessageHeader() - Constructor for class com.bentofw.mail.MessageHeader
The constructor.
MessageList - Class in com.bentofw.mail
Represents the list of the messages.
MessageList() - Constructor for class com.bentofw.mail.MessageList
The default constructor.
MessageNotFoundException - Exception in com.bentofw.mail.scheduler
Thrown if the intended message cannot be found.
MessageNotFoundException() - Constructor for exception com.bentofw.mail.scheduler.MessageNotFoundException
 

N

NestedException - Exception in com.bentofw.util
The exception for the system error.
NestedException(Throwable) - Constructor for exception com.bentofw.util.NestedException
The custructor.
NEW - Static variable in class com.bentofw.mail.SmtpMessage
The int indicating the new e-mail.
newMessageIncluded() - Method in class com.bentofw.mail.MessageList
If the new (un-read) message is included in this list, true will be returned.
NowSendingException - Exception in com.bentofw.mail.scheduler
Thrown if the specified message is just being sent to SMTP server at the time of the method call.
NowSendingException() - Constructor for exception com.bentofw.mail.scheduler.NowSendingException
 

O

OUT - Static variable in class com.bentofw.mail.MessageList
Indicates that the message is sent.

P

PENDING - Static variable in class com.bentofw.mail.MessageList
Indicates that the message is queued and is still pending.
printStackTrace() - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the specified PrintStream.
printStackTrace(PrintWriter) - Method in exception com.bentofw.util.NestedException
Print this Throwable and its backtrace to the specified PrintWriter.

Q

QUEUE - Static variable in class com.bentofw.mail.MessageList
Indicates that the message is queued, but not sent yet.
queue(SmtpMessage, String, String, String, String, String, String, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Queue the e-mail represented by the instance of SmtpMessage.
queue(SmtpMessage, long) - Method in class com.bentofw.mail.scheduler.MailScheduler
Queue the e-mail represented by the instance of SmtpMessage.
QueuedMessage - Class in com.bentofw.mail.scheduler
Through the instance of this class, you can get the various information of the queued e-mail.
QueuedMessage(SmtpMessage, int, int, String, String, String) - Constructor for class com.bentofw.mail.scheduler.QueuedMessage
Constructor.

R

RE_TRY - Static variable in class com.bentofw.mail.MessageList
Indicates that the queued message was not sent due to the error and will be re-send again.
readExternal(ObjectInput) - Method in class com.bentofw.mail.MessageHeader
The member of Externalizable interface.
readExternal(ObjectInput) - Method in class com.bentofw.mail.MessageList
The member of Externalizable interface.
readExternal(ObjectInput) - Method in class com.bentofw.mail.SmtpMessage
The member of Externalizable interface.
remove(long, String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Remove the e-mail from the SQL table permanently.
removeAll(String) - Method in class com.bentofw.mail.scheduler.MailScheduler
Remove the e-mail from the SQL table permanently.
REPLY - Static variable in class com.bentofw.mail.SmtpMessage
The int indicating the e-mail for reply.

S

SAVED - Static variable in class com.bentofw.mail.SmtpMessage
The int indicating the e-mail which was saved as Draft.
sendSMTP(SmtpMessage) - Method in interface com.bentofw.mail.MailSender
Send the Message, which is represented by SmtpMessage.
sendSMTP(SmtpMessage) - Method in class com.bentofw.mail.scheduler.SimpleSMTP
Send the e-mail which is represented by SmtpMessage.
SENT - Static variable in class com.bentofw.mail.MessageList
Indicates that the queued message was sent.
serialVersionUID - Static variable in class com.bentofw.mail.MessageHeader
 
serialVersionUID - Static variable in class com.bentofw.mail.MessageList
 
serialVersionUID - Static variable in class com.bentofw.mail.SmtpMessage
 
setBccAddress(String[], String[]) - Method in class com.bentofw.mail.SmtpMessage
Set the BCC e-mail address and personal name of this message.
setBody(String) - Method in class com.bentofw.mail.SmtpMessage
Set the body text of this message.
setCcAddress(String[], String[]) - Method in class com.bentofw.mail.SmtpMessage
Set the CC e-mail address and personal name of this message.
setCharset(String) - Method in class com.bentofw.mail.SmtpMessage
Set the charset of this message.
setDebug(boolean) - Method in class com.bentofw.mail.scheduler.MailScheduler
Set the debug mode or not.
setFromAddress(String, String) - Method in class com.bentofw.mail.SmtpMessage
Set the FROM e-mail address and personal name of this message.
setLogger(GenericLogger) - Method in class com.bentofw.mail.scheduler.MailScheduler
Set GenericLogger object to which the log messages will be written.
setReplyToAddress(String, String) - Method in class com.bentofw.mail.SmtpMessage
Set the REPLY_TO e-mail address and personal name of this message.
setSubject(String) - Method in class com.bentofw.mail.SmtpMessage
Set the subject of this message.
setTitles(String, String, String, String, String) - Method in class com.bentofw.mail.MessageList
Set the title header of JTable or HTML table.
setToAddress(String[], String[]) - Method in class com.bentofw.mail.SmtpMessage
Set the TO e-mail address and personal name of this message.
setToAddress(String, String) - Method in class com.bentofw.mail.SmtpMessage
Set the TO e-mail address and personal name of this message.
SimpleException - Exception in com.bentofw.util
The exception for the logical error.
SimpleException(String) - Constructor for exception com.bentofw.util.SimpleException
The custructor.
SimpleSMTP - Class in com.bentofw.mail.scheduler
The simple implementation of MailSender interface.
SmtpMessage - Class in com.bentofw.mail
This class represents the e-mail to be sent through SMTP.
SmtpMessage(String) - Constructor for class com.bentofw.mail.SmtpMessage
The constructor.
SmtpMessage() - Constructor for class com.bentofw.mail.SmtpMessage
The constructor.
sort(int) - Method in class com.bentofw.mail.MessageList
Sort the messages in this list by the Date attribute.
startScheduler() - Method in class com.bentofw.mail.scheduler.MailScheduler
Start the background thread, which lists the pending e-mails repeatedly at the specified time interval.
stopScheduler() - Method in class com.bentofw.mail.scheduler.MailScheduler
Stop the background thread, which lists the pending e-mails repeatedly at the specified time interval.

T

TimeZoneIDs - Class in com.bentofw.util
Utility for time zone IDs.
TimeZoneIDs() - Constructor for class com.bentofw.util.TimeZoneIDs
 

U

updateTo(long, String, String[], String[]) - Method in class com.bentofw.mail.scheduler.MailScheduler
Update the TO-address of the e-mail.
updateToAll(String, String[], String[]) - Method in class com.bentofw.mail.scheduler.MailScheduler
Update the TO-address of the e-mails.

W

wasAnswered(int) - Method in class com.bentofw.mail.MessageList
Return true if the specified message was already answered.
wasSeen(int) - Method in class com.bentofw.mail.MessageList
Return true if the specified message was already seen.
writeExternal(ObjectOutput) - Method in class com.bentofw.mail.MessageHeader
The member of Externalizable interface.
writeExternal(ObjectOutput) - Method in class com.bentofw.mail.MessageList
The member of Externalizable interface.
writeExternal(ObjectOutput) - Method in class com.bentofw.mail.SmtpMessage
The member of Externalizable interface.

A C D E G I L M N O P Q R S T U W
OOP MailScheduler Version 2.7

ALL CONTENTS COPYRIGHT 2006, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.