|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sconman.handlers.NullHandler net.sourceforge.sconman.handlers.MSOfficeHandler net.sourceforge.sconman.handlers.MSWordHandler
public class MSWordHandler
Knows how to handle Microsoft Office documents
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sourceforge.sconman.handlers.MSOfficeHandler |
---|
MSOfficeHandler.ContentPOIFSReaderListener |
Constructor Summary | |
---|---|
MSWordHandler()
|
Method Summary | |
---|---|
java.io.Reader |
getTextReader(Content content)
Implement this method to return a reader that provides the text associated to the content |
void |
writeText(java.io.InputStream is,
java.io.Writer out)
Writtes all the MS Word document text to the output writer |
Methods inherited from class net.sourceforge.sconman.handlers.MSOfficeHandler |
---|
getInfo |
Methods inherited from class net.sourceforge.sconman.handlers.NullHandler |
---|
getFieldsAsString, hasThumbnail, writeAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MSWordHandler()
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 writeText(java.io.InputStream is, java.io.Writer out) throws java.io.IOException
writeText
in interface IContentTypeHandler
writeText
in class NullHandler
java.io.IOException
IContentTypeHandler.writeText(java.io.InputStream, java.io.Writer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |