public class WordToText
extends java.lang.Object
Constructor and Description |
---|
WordToText() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getParagraphText(org.apache.poi.hwpf.HWPFDocument doc)
Get the text from the word file, as an array with one String
per paragraph
|
java.lang.String |
getTextFromPieces(org.apache.poi.hwpf.HWPFDocument doc)
Grab the text out of the text pieces.
|
java.io.Reader |
parse(java.io.InputStream in)
Gets the text from a Word document.
|
public java.lang.String[] getParagraphText(org.apache.poi.hwpf.HWPFDocument doc)
public java.lang.String getTextFromPieces(org.apache.poi.hwpf.HWPFDocument doc)
public java.io.Reader parse(java.io.InputStream in) throws org.openmdx.base.exception.ServiceException
in
- The InputStream representing the Word file.org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.