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, wait
getDocSummaryInformation, getRoot, getSummaryInformation
close
public 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()
POITextExtractor
getText
in interface POITextExtractor
public POITextExtractor getMetadataTextExtractor()
getMetadataTextExtractor
in interface POIOLE2TextExtractor
getMetadataTextExtractor
in interface POITextExtractor
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public POIDocument getDocument()
POIOLE2TextExtractor
getDocument
in interface POIOLE2TextExtractor
getDocument
in interface POITextExtractor
public void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem
in interface POITextExtractor
doCloseFilesystem
- true
(default), if underlying resources/filesystem should be
closed on POITextExtractor.close()
public boolean isCloseFilesystem()
isCloseFilesystem
in interface POITextExtractor
true
, if resources/filesystem should be closed on POITextExtractor.close()
public POIDocument getFilesystem()
getFilesystem
in interface POITextExtractor
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.