Interface BinaryMetadataProcessor

  • All Known Implementing Classes:
    ExifToolProcessor

    public interface BinaryMetadataProcessor
    Class to extends to contribute processor runner. See extension point 'metadataProcessors'.
    Since:
    7.1
    • Method Detail

      • writeMetadata

        Blob writeMetadata​(Blob blob,
                           Map<String,​Object> metadata,
                           boolean ignorePrefix)
        Write given metadata into given blob. Since 7.3 ignorePrefix is added.
        Parameters:
        blob - Blob to write.
        metadata - Metadata to inject.
        Returns:
        the updated blob, or null if there was an error (since 7.4)
      • readMetadata

        Map<String,​Object> readMetadata​(Blob blob,
                                              List<String> metadata,
                                              boolean ignorePrefix)
        Read from a given blob given metadata map. Since 7.3 ignorePrefix is added.
        Parameters:
        blob - Blob to read.
        metadata - Metadata to extract.
        Returns:
        Metadata map.
      • readMetadata

        Map<String,​Object> readMetadata​(Blob blob,
                                              boolean ignorePrefix)
        Read all metadata from a given blob. Since 7.3 ignorePrefix is added.
        Parameters:
        blob - Blob to read.
        Returns:
        Metadata map.