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

    Modifier and Type
    Method
    Description
    extract(String path, org.craftercms.core.service.ContentStoreService contentStoreService, org.craftercms.core.service.Context context)
    Performs the metadata extraction on the given file
  • 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 process
      contentStoreService - the content store service
      context - the current context
      Returns:
      the extracted metadata