public class XPSTextExtractor
extends java.lang.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() |
java.io.Closeable |
getFilesystem() |
org.apache.poi.openxml4j.opc.OPCPackage |
getPackage() |
java.lang.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, java.io.IOException
org.apache.poi.openxml4j.exceptions.OpenXML4JException
org.apache.xmlbeans.XmlException
java.io.IOException
public org.apache.poi.openxml4j.opc.OPCPackage getPackage()
getPackage
in interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
public java.lang.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 java.io.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 © 2010 - 2023 Adobe. All Rights Reserved