Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.xdgf.extractor
Class XDGFVisioExtractor

    java.lang.Object
      org.apache.poi.POITextExtractor
          org.apache.poi.POIXMLTextExtractor
              org.apache.poi.xdgf.extractor.XDGFVisioExtractor

All Implemented Interfaces:
  java.io.Closeable

    public class XDGFVisioExtractor

extends POIXMLTextExtractor

Helper class to extract text from an OOXML Visio File

Field Summary
`protected XmlVisioDocument` | `document`

Constructor Summary
`XDGFVisioExtractor(OPCPackage openPackage)`
`XDGFVisioExtractor(XmlVisioDocument document)`

Method Summary
`java.lang.String` | `getText()` Retrieves all the text from the document.
`static void` | `main(java.lang.String[] args)`

Methods inherited from class org.apache.poi.POIXMLTextExtractor
`checkMaxTextSize, close, getCoreProperties, getCustomProperties, getDocument, getExtendedProperties, getMetadataTextExtractor, getPackage`

Methods inherited from class org.apache.poi.POITextExtractor
`setFilesystem`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### document

    protected final XmlVisioDocument document

Constructor Detail

### XDGFVisioExtractor

    public XDGFVisioExtractor(XmlVisioDocument document)

### XDGFVisioExtractor

    public XDGFVisioExtractor(OPCPackage openPackage)
                       throws java.io.IOException

Throws:
  `java.io.IOException`

Method Detail

### getText

    public java.lang.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 class `POITextExtractor`
  Returns:
    All the text from the document

### main

    public static void main(java.lang.String[] args)
                     throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.