Package org.apache.poi.xdgf.extractor
Class XDGFVisioExtractor
java.lang.Object
org.apache.poi.xdgf.extractor.XDGFVisioExtractor
- All Implemented Interfaces:
Closeable,AutoCloseable,POITextExtractor,POIXMLTextExtractor
Helper class to extract text from an OOXML Visio File
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXDGFVisioExtractor(OPCPackage openPackage) XDGFVisioExtractor(XmlVisioDocument document) -
Method Summary
Modifier and TypeMethodDescriptionReturns opened documentgetText()booleanvoidsetCloseFilesystem(boolean doCloseFilesystem) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
checkMaxTextSize, close, getCoreProperties, getCustomProperties, getExtendedProperties, getMetadataTextExtractor, getPackage
-
Field Details
-
document
-
-
Constructor Details
-
XDGFVisioExtractor
-
XDGFVisioExtractor
- Throws:
IOException
-
-
Method Details
-
getText
- Specified by:
getTextin interfacePOITextExtractor
-
getDocument
Description copied from interface:POIXMLTextExtractorReturns opened document- Specified by:
getDocumentin interfacePOITextExtractor- Specified by:
getDocumentin interfacePOIXMLTextExtractor- Returns:
- the opened document
-
setCloseFilesystem
public void setCloseFilesystem(boolean doCloseFilesystem) - Specified by:
setCloseFilesystemin interfacePOITextExtractor
-
isCloseFilesystem
public boolean isCloseFilesystem()- Specified by:
isCloseFilesystemin interfacePOITextExtractor
-
getFilesystem
- Specified by:
getFilesystemin interfacePOITextExtractor
-