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
(返回底层 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
(接口 POITextExtractor 中的 getText)
public POITextExtractor getMetadataTextExtractor()
getMetadataTextExtractor
in interface
POIOLE2TextExtractor
(POIOLE2TextExtractor 接口中的getMetadataTextExtractor)
getMetadataTextExtractor
in interface
POITextExtractor
(接口 POITextExtractor 中的 getMetadataTextExtractor)
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
(POIOLE2TextExtractor 接口中的getDocument)
getDocument
in interface
POITextExtractor
(接口 POITextExtractor 中的 getDocument)
public void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem
in interface
POITextExtractor
(接口 POITextExtractor 中的 setCloseFilesystem)
doCloseFilesystem
-
true
(default), if underlying resources/filesystem should be closed on
POITextExtractor.close()
(doCloseFilesystem - true(默认),如果底层资源/文件系统应该在 POITextExtractor.close() 上关闭)
public boolean isCloseFilesystem()
isCloseFilesystem
in interface
POITextExtractor
(接口 POITextExtractor 中的 isCloseFilesystem)
true
, if resources/filesystem should be closed on
POITextExtractor.close()
(true,如果资源/文件系统应该在 POITextExtractor.close() 上关闭)
public POIDocument getFilesystem()
getFilesystem
in interface
POITextExtractor
(接口 POITextExtractor 中的 getFilesystem)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.