|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opencms.search.extractors.CmsExtractionResult
The result of a document text extraction.
This data structure contains the extracted text as well as (optional) meta information extracted from the document.
| Field Summary |
| Fields inherited from interface org.opencms.search.extractors.I_CmsExtractionResult |
META_AUTHOR, META_CATEGORY, META_COMMENTS, META_COMPANY, META_CREATOR, META_DATE_CREATED, META_DATE_LASTMODIFIED, META_KEYWORDS, META_MANAGER, META_PRODUCER, META_SUBJECT, META_TITLE |
| Constructor Summary | |
CmsExtractionResult(String content)
Creates a new extration result without meta information. |
|
CmsExtractionResult(String content,
Map metaInfo)
Creates a new extration result. |
|
| Method Summary | |
String |
getContent()
Returns the extracted content as a String. |
Map |
getMetaInfo()
Returns the extracted meta information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsExtractionResult(String content)
content - the extracted content
public CmsExtractionResult(String content,
Map metaInfo)
content - the extracted contentmetaInfo - the extracted documnet meta information| Method Detail |
public String getContent()
I_CmsExtractionResult
getContent in interface I_CmsExtractionResultI_CmsExtractionResult.getContent()public Map getMetaInfo()
I_CmsExtractionResult
The result Map contains all meta information extracted
by the extractor. The key is always a String, and should be one of the constants
defined in the interface. For example
I_CmsExtractionResult will contain the document title as
a String.I_CmsExtractionResult.META_TITLE
getMetaInfo in interface I_CmsExtractionResultI_CmsExtractionResult.getMetaInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||