public class HPSFPropertiesExtractor extends POIOLE2TextExtractor
document
Constructor and Description |
---|
HPSFPropertiesExtractor(NPOIFSFileSystem fs) |
HPSFPropertiesExtractor(POIDocument doc) |
HPSFPropertiesExtractor(POIFSFileSystem fs) |
HPSFPropertiesExtractor(POIOLE2TextExtractor mainExtractor) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Allows to free resources of the Extractor as soon as
it is not needed any more.
|
java.lang.String |
getDocumentSummaryInformationText() |
POITextExtractor |
getMetadataTextExtractor()
Prevent recursion!
|
java.lang.String |
getSummaryInformationText() |
java.lang.String |
getText()
Retrieves all the text from the document.
|
static void |
main(java.lang.String[] args) |
getDocSummaryInformation, getRoot, getSummaryInformation
setFilesystem
public HPSFPropertiesExtractor(POIOLE2TextExtractor mainExtractor)
public HPSFPropertiesExtractor(POIDocument doc)
public HPSFPropertiesExtractor(POIFSFileSystem fs)
public HPSFPropertiesExtractor(NPOIFSFileSystem fs)
public java.lang.String getDocumentSummaryInformationText()
public java.lang.String getSummaryInformationText()
public java.lang.String getText()
POITextExtractor
getText
in class POITextExtractor
public POITextExtractor getMetadataTextExtractor()
getMetadataTextExtractor
in class POIOLE2TextExtractor
public void close() throws java.io.IOException
POITextExtractor
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class POITextExtractor
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
Copyright 2017 The Apache Software Foundation or its licensors, as applicable.