public class XDGFVisioExtractor extends java.lang.Object implements POIXMLTextExtractor
Modifier and Type | Field and Description |
---|---|
protected XmlVisioDocument |
document |
Constructor and Description |
---|
XDGFVisioExtractor(OPCPackage openPackage) |
XDGFVisioExtractor(XmlVisioDocument document) |
Modifier and Type | Method and Description |
---|---|
XmlVisioDocument |
getDocument()
Returns opened document
|
XmlVisioDocument |
getFilesystem() |
java.lang.String |
getText()
Retrieves all the text from the document.
|
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean doCloseFilesystem) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkMaxTextSize, close, getCoreProperties, getCustomProperties, getExtendedProperties, getMetadataTextExtractor, getPackage
protected final XmlVisioDocument document
public XDGFVisioExtractor(XmlVisioDocument document)
public XDGFVisioExtractor(OPCPackage openPackage) throws java.io.IOException
java.io.IOException
public java.lang.String getText()
POITextExtractor
getText
in interface POITextExtractor
public XmlVisioDocument getDocument()
POIXMLTextExtractor
getDocument
in interface POITextExtractor
getDocument
in interface POIXMLTextExtractor
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 XmlVisioDocument getFilesystem()
getFilesystem
in interface POITextExtractor
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.