Interface MetadataExtractor


public interface MetadataExtractor
Enrich metacard using provided input. This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
  • Method Details

    • process

      void process(String metadata, Metacard metacard)
      Parses the input string, extracting metadata from it to add to the metacard.
      Parameters:
      metadata - the metadata to process
      metacard - the metacard to enrich
    • getMetacardType

      MetacardType getMetacardType(String contentType)
    • canProcess

      boolean canProcess(String contentType)