C G I L M N P R S W
C
- checkImageSize(byte[], String, String, int, int) -
Method in class com.bentofw.util.ImageSizeChecker
- Throws the exception if the width/height of the image file
exceeds the maximum width/height.
- com.bentofw.popreceiver - package com.bentofw.popreceiver
- This API consists of the utility classes for receiving the e-mail from POP3 server.
- com.bentofw.util - package com.bentofw.util
- The classes and interfaces required for APIs by OOP-Research.
- ConfigPerPop3 - Class in com.bentofw.popreceiver
- Parameters defined for each POP3 server.
- CorruptedBinaryContentsException - Exception in com.bentofw.util
- Thrown if the binary contents of the uploaded file do not
match to the intended pattern for the specified mime-type.
- CorruptedBinaryContentsException(String, String) -
Constructor for exception com.bentofw.util.CorruptedBinaryContentsException
- Thrown if the binary contents of the uploaded file do not
match to the intended pattern for the specified mime-type.
G
- getArrayOfBoolean(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the array of boolean for the specified key.
- getArrayOfDouble(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the array of double for the specified key.
- getArrayOfInt(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the array of int for the specified key.
- getArrayOfLong(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the array of long for the specified key.
- getArrayOfString(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the array of String for the specified key.
- getBoolean(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the boolean primitive for the specified key.
- getCcAddress() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the e-mail addresses
of CC recipients.
- getCcName() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the names of
CC recipients.
- getContentType(int) -
Method in class com.bentofw.popreceiver.ReceivedMail
- Returns the Content-Type for the specified file attachment.
- getDouble(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the double primitive for the specified key.
- getFileBody(int) -
Method in class com.bentofw.popreceiver.ReceivedMail
- Returns the binary contents for the specified file
attachment.
- getFileCount() -
Method in class com.bentofw.popreceiver.ReceivedMail
- The number of the file attachments in this e-mail.
- getFileExtension(String) -
Static method in class com.bentofw.util.MimeMapDic
- Return the extension for the specified file name, such as
png or txt.
- getFileExtension4Mime(String) -
Method in class com.bentofw.util.MimeMapDic
- Return the file extension for the specified mime-type.
- getFileName(int) -
Method in class com.bentofw.popreceiver.ReceivedMail
- Returns the file name for the specified file attachment.
- getFileName() -
Method in exception com.bentofw.util.CorruptedBinaryContentsException
- Return the file name of the uploaded file.
- getFileName() -
Method in exception com.bentofw.util.LargeImageException
- Return the file name to be uploaded.
- getFromAddress() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the e-mail addresses
of senders.
- getFromName() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the names of
senders.
- getHeight() -
Method in exception com.bentofw.util.LargeImageException
- Return the height of the uploaded image.
- getInstance() -
Static method in class com.bentofw.popreceiver.Pop3Receiver
- This method always returns the same instance of Pop3Receiver.
- getInstance() -
Static method in class com.bentofw.util.ImageSizeChecker
- Reads ImageSizeChecker.properties and returns the
instance of this class.
- getInstance() -
Static method in class com.bentofw.util.MimeMapDic
- Reads "WEB-INF/classes/mime.xml" and stores the mapping
between the file extension and mime-type.
- getInt(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the int primitive for the specified key.
- getLong(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the long primitive for the specified key.
- getMaximumHeight() -
Method in exception com.bentofw.util.LargeImageException
- Return the maximum height to be allowed.
- getMaximumWidth() -
Method in exception com.bentofw.util.LargeImageException
- Return the maximum width to be allowed.
- getMessage() -
Method in exception com.bentofw.util.CorruptedBinaryContentsException
-
- getMessage() -
Method in exception com.bentofw.util.LargeImageException
- Return the error message.
- getMessage() -
Method in exception com.bentofw.util.NestedException
- Returns the error message of original Throwable.
- getMimeType() -
Method in exception com.bentofw.util.CorruptedBinaryContentsException
- Return the mime-type of the uploaded file.
- getMimeType(String) -
Method in class com.bentofw.util.MimeMapDic
- Return the mime-type for the specified file name.
- getOriginal() -
Method in exception com.bentofw.util.NestedException
- Returns the original Throwable.
- getReplyToAddress() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the e-mail addresses
to which reply.
- getReplyToName() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the names of
senders to which reply.
- getSentDate() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the instance of Date representing when the message
was sent.
- getSetOfString(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the set of String for the specified key.
- getString(String) -
Method in class com.bentofw.popreceiver.ConfigPerPop3
- Returns the String for the specified key.
- getSubject() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the subject of the message.
- getText(int) -
Method in class com.bentofw.popreceiver.ReceivedMail
- Returns the String for the specified text contents.
- getTextCharset(int) -
Method in class com.bentofw.popreceiver.ReceivedMail
- Returns the charset for the specified text contents.
- getTextContentType(int) -
Method in class com.bentofw.popreceiver.ReceivedMail
- Returns the Content-Type for the specified text contents.
- getTextCount() -
Method in class com.bentofw.popreceiver.ReceivedMail
- The number of the text contents in this e-mail.
- getToAddress() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the e-mail addresses
of recipients.
- getToName() -
Method in class com.bentofw.popreceiver.ReceivedMail
- Return the array of String representing the names of
recipients.
- getWidth() -
Method in exception com.bentofw.util.LargeImageException
- Return the width of the uploaded image.
I
- ImageSizeChecker - Class in com.bentofw.util
- Check width/height of the image file.
- init() -
Method in interface com.bentofw.popreceiver.MailReceiver
- After
Pop3Receiver creates the instance of this
interface, this method is called.
L
- LargeImageException - Exception in com.bentofw.util
- Thrown if the uploaded file is larger than the specified
maximum file.
- LargeImageException(int, int, int, int, String) -
Constructor for exception com.bentofw.util.LargeImageException
- The constructor.
M
- MailReceiver - Interface in com.bentofw.popreceiver
- For each mail retrieved from the POP3 server,
MailReceiver.received(ReceivedMail,ConfigPerPop3) is called. - MimeMapDic - Class in com.bentofw.util
- Resolve the mime-type from the file name.
N
- NestedException - Exception in com.bentofw.util
- The exception for the system error.
- NestedException(Throwable) -
Constructor for exception com.bentofw.util.NestedException
- The custructor.
- NoPropertyFileException - Exception in com.bentofw.util
- This exception will be thrown when the required property
file is not found.
- NoPropertyFileException(String) -
Constructor for exception com.bentofw.util.NoPropertyFileException
- The custructor.
- NotParsedYetException - Exception in com.bentofw.popreceiver
- Will be thrown by ReceivedMail if you try to call getXX
method before parsing.
- NotParsedYetException() -
Constructor for exception com.bentofw.popreceiver.NotParsedYetException
-
- NoValueFoundException - Exception in com.bentofw.popreceiver
- Thrown by
ConfigPerPop3 when the value is not found for the specified key. - NoValueFoundException(String) -
Constructor for exception com.bentofw.popreceiver.NoValueFoundException
-
P
- Pop3Receiver - Class in com.bentofw.popreceiver
- Connects to the POP3 server and calls
MailReceiver.received(ReceivedMail,ConfigPerPop3) for each mail. - 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.
- PropertiesFromResource - Class in com.bentofw.util
- Reads the resource from WEB-INF/classes and stores the
key-value pairs.
R
- read(String) -
Static method in class com.bentofw.util.PropertiesFromResource
- Reads the resource from WEB-INF/classes and stores the
key-value pairs.
- readExternal(ObjectInput) -
Method in class com.bentofw.popreceiver.ReceivedMail
- The member of Externalizable interface.
- received(ReceivedMail, ConfigPerPop3) -
Method in interface com.bentofw.popreceiver.MailReceiver
- For each mail retrieved from the POP3 server, this method
is called.
- ReceivedMail - Class in com.bentofw.popreceiver
- You can access various parts of the received e-mail,
including the text body and the file attachment.
S
- setDebug(boolean) -
Method in class com.bentofw.util.ImageSizeChecker
-
- shouldCheck(String) -
Method in class com.bentofw.util.ImageSizeChecker
- Returns true if the specified mime-type is the subject
of this class.
- SimpleException - Exception in com.bentofw.util
- The exception for the logical error.
- SimpleException(String) -
Constructor for exception com.bentofw.util.SimpleException
- The custructor.
- start() -
Method in class com.bentofw.popreceiver.Pop3Receiver
- Start the background Thread, which connects to the POP3
servers at the specified time interval.
- stop() -
Method in class com.bentofw.popreceiver.Pop3Receiver
- Stop the background Thread, which connects to the POP3
servers at the specified time interval.
W
- wasStarted() -
Method in class com.bentofw.popreceiver.Pop3Receiver
- Returns true if the background Thread is running.
- writeExternal(ObjectOutput) -
Method in class com.bentofw.popreceiver.ReceivedMail
- The member of Externalizable interface.
C G I L M N P R S W
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.