public class XPSTextExtractor extends Object implements org.apache.poi.ooxml.extractor.POIXMLTextExtractor
Constructor and Description |
---|
XPSTextExtractor(org.apache.poi.openxml4j.opc.OPCPackage pkg) |
Modifier and Type | Method and Description |
---|---|
org.apache.poi.ooxml.POIXMLProperties.CoreProperties |
getCoreProperties() |
org.apache.poi.ooxml.POIXMLProperties.CustomProperties |
getCustomProperties() |
org.apache.poi.ooxml.POIXMLDocument |
getDocument() |
org.apache.poi.ooxml.POIXMLProperties.ExtendedProperties |
getExtendedProperties() |
Closeable |
getFilesystem() |
org.apache.poi.openxml4j.opc.OPCPackage |
getPackage() |
String |
getText() |
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean b) |
public XPSTextExtractor(org.apache.poi.openxml4j.opc.OPCPackage pkg) throws org.apache.poi.openxml4j.exceptions.OpenXML4JException, org.apache.xmlbeans.XmlException, IOException
org.apache.poi.openxml4j.exceptions.OpenXML4JException
org.apache.xmlbeans.XmlException
IOException
public org.apache.poi.openxml4j.opc.OPCPackage getPackage()
getPackage
in interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
public String getText()
getText
in interface org.apache.poi.extractor.POITextExtractor
public void setCloseFilesystem(boolean b)
setCloseFilesystem
in interface org.apache.poi.extractor.POITextExtractor
public boolean isCloseFilesystem()
isCloseFilesystem
in interface org.apache.poi.extractor.POITextExtractor
public Closeable getFilesystem()
getFilesystem
in interface org.apache.poi.extractor.POITextExtractor
public org.apache.poi.ooxml.POIXMLProperties.CoreProperties getCoreProperties()
getCoreProperties
in interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
public org.apache.poi.ooxml.POIXMLProperties.ExtendedProperties getExtendedProperties()
getExtendedProperties
in interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
public org.apache.poi.ooxml.POIXMLProperties.CustomProperties getCustomProperties()
getCustomProperties
in interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
public org.apache.poi.ooxml.POIXMLDocument getDocument()
getDocument
in interface org.apache.poi.extractor.POITextExtractor
getDocument
in interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.