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() |
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()
getDocument in interface POIOLE2TextExtractorgetDocument in interface POITextExtractorpublic void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem in interface POITextExtractorpublic boolean isCloseFilesystem()
isCloseFilesystem in interface POITextExtractorpublic HDGFDiagram getFilesystem()
getFilesystem in interface POITextExtractor