|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.sconman.handlers.NullHandler
net.sourceforge.sconman.handlers.MailHandler
public class MailHandler
Mail handler knows how to extract mail message information, and all the text within, including attachments
Constructor Summary | |
---|---|
MailHandler()
|
Method Summary | |
---|---|
void |
getInfo(Content content,
boolean overrideAttributes,
boolean createThumbnail)
Tries to read info from content's data |
java.io.Reader |
getTextReader(Content content)
Implement this method to return a reader that provides the text associated to the content |
Methods inherited from class net.sourceforge.sconman.handlers.NullHandler |
---|
getFieldsAsString, hasThumbnail, writeAttributes, writeText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailHandler()
Method Detail |
---|
public java.io.Reader getTextReader(Content content) throws java.io.IOException
IContentTypeHandler
getTextReader
in interface IContentTypeHandler
getTextReader
in class NullHandler
content
- The content
java.io.IOException
- If there's an IO problempublic void getInfo(Content content, boolean overrideAttributes, boolean createThumbnail)
IContentTypeHandler
getInfo
in interface IContentTypeHandler
getInfo
in class NullHandler
content
- The content to read attributes fromoverrideAttributes
- True to extract attributes from file and
override existent content attributescreateThumbnail
- True to create thumbnail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |