Package com.norconex.importer.util
Class CommonAttributesResolver
java.lang.Object
com.norconex.importer.util.CommonAttributesResolver
Detects common document attributes and set them as document metadata fields.
The attributes are only detected and set if it is not already present,
unless overwrite is true.
You can expect the following properties/fields to be set after using this class.
| DocRecord property | Metadata field |
|---|---|
| contentEncoding | DocMetaConstants.CONTENT_ENCODING |
| contentType | DocMetaConstants.CONTENT_TYPE |
DocMetaConstants.CONTENT_FAMILY |
- Since:
- 4.0.0
-
Method Summary
-
Method Details
-
resolve
-
resolve
-