Package org.craftercms.search.metadata
Interface MetadataExtractor
- All Known Implementing Classes:
AbstractMetadataExtractor,ContentTypeMetadataExtractor,FileSizeMetadataExtractor,InternalNameMetadataExtractor
public interface MetadataExtractor
Performs any metadata processing needed for files in the site repository.
- Since:
- 3.1.1
- Author:
- joseross
-
Method Summary
-
Method Details
-
extract
Map<String,Object> extract(String path, org.craftercms.core.service.ContentStoreService contentStoreService, org.craftercms.core.service.Context context) Performs the metadata extraction on the given file- Parameters:
path- the path of the file to processcontentStoreService- the content store servicecontext- the current context- Returns:
- the extracted metadata
-