public final class VisioTextExtractor extends java.lang.Object implements POIOLE2TextExtractor
| Constructor and Description |
|---|
VisioTextExtractor(DirectoryNode dir) |
VisioTextExtractor(HDGFDiagram hdgf) |
VisioTextExtractor(java.io.InputStream inp) |
VisioTextExtractor(POIFSFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllText()
Locates all the text entries in the file, and returns their
contents.
|
HDGFDiagram |
getDocument()
Return the underlying POIDocument
|
HDGFDiagram |
getFilesystem() |
java.lang.String |
getText()
Returns the textual contents of the file.
|
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean doCloseFilesystem) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocSummaryInformation, getMetadataTextExtractor, getRoot, getSummaryInformationclosepublic VisioTextExtractor(HDGFDiagram hdgf)
public VisioTextExtractor(POIFSFileSystem fs) throws java.io.IOException
java.io.IOExceptionpublic VisioTextExtractor(DirectoryNode dir) throws java.io.IOException
java.io.IOExceptionpublic VisioTextExtractor(java.io.InputStream inp)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String[] getAllText()
public java.lang.String getText()
getText in interface POITextExtractor\npublic HDGFDiagram getDocument()
POIOLE2TextExtractorgetDocument in interface POIOLE2TextExtractorgetDocument in interface POITextExtractorpublic void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem in interface POITextExtractordoCloseFilesystem - true (default), if underlying resources/filesystem should be
closed on POITextExtractor.close()public boolean isCloseFilesystem()
isCloseFilesystem in interface POITextExtractortrue, if resources/filesystem should be closed on POITextExtractor.close()public HDGFDiagram getFilesystem()
getFilesystem in interface POITextExtractorCopyright 2021 The Apache Software Foundation or its licensors, as applicable.