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, wait
getDocSummaryInformation, getMetadataTextExtractor, getRoot, getSummaryInformation
close
public VisioTextExtractor(HDGFDiagram hdgf)
public VisioTextExtractor(POIFSFileSystem fs) throws java.io.IOException
java.io.IOException
public VisioTextExtractor(DirectoryNode dir) throws java.io.IOException
java.io.IOException
public VisioTextExtractor(java.io.InputStream inp) throws java.io.IOException
java.io.IOException
public java.lang.String[] getAllText()
public java.lang.String getText()
getText
in interface POITextExtractor
\n
public HDGFDiagram getDocument()
POIOLE2TextExtractor
getDocument
in interface POIOLE2TextExtractor
getDocument
in interface POITextExtractor
public void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem
in interface POITextExtractor
doCloseFilesystem
- true
(default), if underlying resources/filesystem should be
closed on POITextExtractor.close()
public boolean isCloseFilesystem()
isCloseFilesystem
in interface POITextExtractor
true
, if resources/filesystem should be closed on POITextExtractor.close()
public HDGFDiagram getFilesystem()
getFilesystem
in interface POITextExtractor
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.