Interface MetadataExtractor<T>

Type Parameters:
T - the type of object that provides the metadata
All Known Implementing Classes:
TikaMetadataExtractor

public interface MetadataExtractor<T>
Defines the basic operation to process binary files and produce relevant metadata
Author:
joseross
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    extract(org.springframework.core.io.Resource resource, T metadata, Map<String,Object> properties)
    Takes relevant metadata from the source object to the properties parameter
  • Method Details

    • extract

      void extract(org.springframework.core.io.Resource resource, T metadata, Map<String,Object> properties)
      Takes relevant metadata from the source object to the properties parameter
      Parameters:
      resource - the original file containing the metadata (in case any extra operation is needed)
      metadata - the object that provides the metadata
      properties - the properties that will be indexed