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, getSummaryInformation
public Word6Extractor(InputStream is) throws IOException
is
- InputStream containing the word fileIOException
public Word6Extractor(POIFSFileSystem fs) throws IOException
fs
- POIFSFileSystem containing the word fileIOException
@Deprecated public Word6Extractor(DirectoryNode dir, POIFSFileSystem fs) throws IOException
Word6Extractor(DirectoryNode)
insteadIOException
public Word6Extractor(DirectoryNode dir) throws IOException
IOException
public Word6Extractor(HWPFOldDocument doc)
doc
- The HWPFOldDocument to extract from@Deprecated public String[] getParagraphText()
public String getText()
POITextExtractor
getText
in class POITextExtractor
Copyright © 2020. All rights reserved.