Class XPSTextExtractor
java.lang.Object
org.apache.tika.parser.microsoft.ooxml.xps.XPSTextExtractor
- All Implemented Interfaces:
Closeable,AutoCloseable,POITextExtractor,POIXMLTextExtractor
@Deprecated(since="2026-04-30")
public class XPSTextExtractor
extends Object
implements POIXMLTextExtractor
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Currently, mostly a pass-through class to hold pkg and properties
and keep the general framework similar to our other POI-integrated
extractors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the core document propertiesDeprecated.Returns the custom document propertiesDeprecated.Returns opened documentDeprecated.Returns the extended document propertiesDeprecated.Deprecated.Returns the opened OPCPackage that contains the documentgetText()Deprecated.Retrieves all the text from the document.booleanDeprecated.voidsetCloseFilesystem(boolean b) Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
checkMaxTextSize, close, getMetadataTextExtractor
-
Constructor Details
-
XPSTextExtractor
Deprecated.
-
-
Method Details
-
getPackage
Deprecated.Description copied from interface:POIXMLTextExtractorReturns the opened OPCPackage that contains the document- Specified by:
getPackagein interfacePOIXMLTextExtractor- Returns:
- the opened OPCPackage
-
getText
Deprecated.Description copied from interface:POITextExtractorRetrieves 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:
getTextin interfacePOITextExtractor- Returns:
- All the text from the document
-
setCloseFilesystem
public void setCloseFilesystem(boolean b) Deprecated.- Specified by:
setCloseFilesystemin interfacePOITextExtractor- Parameters:
b-true(default), if underlying resources/filesystem should be closed onPOITextExtractor.close()
-
isCloseFilesystem
public boolean isCloseFilesystem()Deprecated.- Specified by:
isCloseFilesystemin interfacePOITextExtractor- Returns:
true, if resources/filesystem should be closed onPOITextExtractor.close()
-
getFilesystem
Deprecated.- Specified by:
getFilesystemin interfacePOITextExtractor- Returns:
- The underlying resources/filesystem
-
getCoreProperties
Deprecated.Description copied from interface:POIXMLTextExtractorReturns the core document properties- Specified by:
getCorePropertiesin interfacePOIXMLTextExtractor- Returns:
- the core document properties
-
getExtendedProperties
Deprecated.Description copied from interface:POIXMLTextExtractorReturns the extended document properties- Specified by:
getExtendedPropertiesin interfacePOIXMLTextExtractor- Returns:
- the extended document properties
-
getCustomProperties
Deprecated.Description copied from interface:POIXMLTextExtractorReturns the custom document properties- Specified by:
getCustomPropertiesin interfacePOIXMLTextExtractor- Returns:
- the custom document properties
-
getDocument
Deprecated.Description copied from interface:POIXMLTextExtractorReturns opened document- Specified by:
getDocumentin interfacePOITextExtractor- Specified by:
getDocumentin interfacePOIXMLTextExtractor- Returns:
- the opened document
-