|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencrx.kernel.text.WordToText
public class WordToText
Re-factored from http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/extractor/WordExtractor.java?view=log
| Constructor Summary | |
|---|---|
WordToText()
|
|
| Method Summary | |
|---|---|
String[] |
getParagraphText(org.apache.poi.hwpf.HWPFDocument doc)
Get the text from the word file, as an array with one String per paragraph |
String |
getTextFromPieces(org.apache.poi.hwpf.HWPFDocument doc)
Grab the text out of the text pieces. |
Reader |
parse(InputStream in)
Gets the text from a Word document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WordToText()
| Method Detail |
|---|
public String[] getParagraphText(org.apache.poi.hwpf.HWPFDocument doc)
public String getTextFromPieces(org.apache.poi.hwpf.HWPFDocument doc)
public Reader parse(InputStream in)
throws ServiceException,
IOException
in - The InputStream representing the Word file.
ServiceException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||