public final class Word6Extractor extends Object implements POIOLE2TextExtractor
WordExtractor which deals properly
with HWPF.| 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 |
|---|---|
HWPFOldDocument |
getDocument() |
HWPFOldDocument |
getFilesystem() |
String[] |
getParagraphText()
Deprecated.
|
String |
getText() |
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean doCloseFilesystem) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocSummaryInformation, getMetadataTextExtractor, getRoot, getSummaryInformationclosepublic 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()
getText in interface POITextExtractorpublic HWPFOldDocument getDocument()
getDocument in interface POIOLE2TextExtractorgetDocument in interface POITextExtractorpublic void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem in interface POITextExtractorpublic boolean isCloseFilesystem()
isCloseFilesystem in interface POITextExtractorpublic HWPFOldDocument getFilesystem()
getFilesystem in interface POITextExtractor