Package org.apache.poi.xdgf.extractor
Class XDGFVisioExtractor
- java.lang.Object
-
- org.apache.poi.extractor.POITextExtractor
-
- org.apache.poi.ooxml.extractor.POIXMLTextExtractor
-
- org.apache.poi.xdgf.extractor.XDGFVisioExtractor
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class XDGFVisioExtractor extends org.apache.poi.ooxml.extractor.POIXMLTextExtractor
Helper class to extract text from an OOXML Visio File
-
-
Constructor Summary
Constructors Constructor Description XDGFVisioExtractor(OPCPackage openPackage)
XDGFVisioExtractor(XmlVisioDocument document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText()
Retrieves all the text from the document.static void
main(String[] args)
-
Methods inherited from class org.apache.poi.ooxml.extractor.POIXMLTextExtractor
close, getCoreProperties, getCustomProperties, getDocument, getExtendedProperties, getMetadataTextExtractor, getPackage
-
Methods inherited from class org.apache.poi.extractor.POITextExtractor
setFilesystem
-
-
-
-
Constructor Detail
-
XDGFVisioExtractor
public XDGFVisioExtractor(XmlVisioDocument document)
-
XDGFVisioExtractor
public XDGFVisioExtractor(OPCPackage openPackage) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getText
public String getText()
Description copied from class:POITextExtractor
Retrieves all the text from the document. How cells, paragraphs etc are separated in the text is implementation specific - see the javadocs for a specific project for details.- Specified by:
getText
in classPOITextExtractor
- Returns:
- All the text from the document
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-