public final class Word6Extractor extends POIOLE2TextExtractor
WordExtractor which deals properly
with HWPF.document| Constructor and Description |
|---|
Word6Extractor(DirectoryNode dir) |
Word6Extractor(DirectoryNode dir,
POIFSFileSystem fs)
Deprecated.
Use
Word6Extractor(DirectoryNode) instead |
Word6Extractor(HWPFOldDocument doc)
Create a new Word Extractor
|
Word6Extractor(InputStream is)
Create a new Word Extractor
|
Word6Extractor(POIFSFileSystem fs)
Create a new Word Extractor
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getParagraphText()
Deprecated.
|
String |
getText()
Retrieves all the text from the document.
|
getDocSummaryInformation, getFileSystem, getMetadataTextExtractor, getRoot, getSummaryInformationpublic Word6Extractor(InputStream is) throws IOException
is - InputStream containing the word fileIOExceptionpublic Word6Extractor(POIFSFileSystem fs) throws IOException
fs - POIFSFileSystem containing the word fileIOException@Deprecated public Word6Extractor(DirectoryNode dir, POIFSFileSystem fs) throws IOException
Word6Extractor(DirectoryNode) insteadIOExceptionpublic Word6Extractor(DirectoryNode dir) throws IOException
IOExceptionpublic Word6Extractor(HWPFOldDocument doc)
doc - The HWPFOldDocument to extract from@Deprecated public String[] getParagraphText()
public String getText()
POITextExtractorgetText in class POITextExtractorCopyright © 2020. All rights reserved.