public class HPSFPropertiesExtractor extends java.lang.Object implements POIOLE2TextExtractor
| Constructor and Description |
|---|
HPSFPropertiesExtractor(POIDocument document) |
HPSFPropertiesExtractor(POIFSFileSystem fs) |
HPSFPropertiesExtractor(POIOLE2TextExtractor mainExtractor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
POIDocument |
getDocument()
Return the underlying POIDocument
|
java.lang.String |
getDocumentSummaryInformationText() |
POIDocument |
getFilesystem() |
POITextExtractor |
getMetadataTextExtractor()
Prevent recursion!
|
java.lang.String |
getSummaryInformationText() |
java.lang.String |
getText()
Retrieves all the text from the document.
|
int |
hashCode() |
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean doCloseFilesystem) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDocSummaryInformation, getRoot, getSummaryInformationclosepublic HPSFPropertiesExtractor(POIOLE2TextExtractor mainExtractor)
public HPSFPropertiesExtractor(POIDocument document)
public HPSFPropertiesExtractor(POIFSFileSystem fs)
public java.lang.String getDocumentSummaryInformationText()
public java.lang.String getSummaryInformationText()
public java.lang.String getText()
POITextExtractorgetText in interface POITextExtractorpublic POITextExtractor getMetadataTextExtractor()
getMetadataTextExtractor in interface POIOLE2TextExtractorgetMetadataTextExtractor in interface POITextExtractorpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic POIDocument getDocument()
POIOLE2TextExtractorgetDocument in interface POIOLE2TextExtractorgetDocument in interface POITextExtractorpublic void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem in interface POITextExtractordoCloseFilesystem - true (default), if underlying resources/filesystem should be
closed on POITextExtractor.close()public boolean isCloseFilesystem()
isCloseFilesystem in interface POITextExtractortrue, if resources/filesystem should be closed on POITextExtractor.close()public POIDocument getFilesystem()
getFilesystem in interface POITextExtractorCopyright 2022 The Apache Software Foundation or its licensors, as applicable.