Interface IMetadataExtractor

    • Method Detail

      • extractMetadata

        void extractMetadata​(InputStream inputStream,
                             String contentType,
                             FileMetadata fileMetadata)
                      throws PortalException
        Extracts the meta data information from the given input stream. The meta data information extracted is to be set in the given fileMetadata parameter.
        Parameters:
        inputStream - the input stream source of meta data information.
        contentType - the content type of the file.
        fileMetadata - the meta data information to be updated.
        Throws:
        PortalException
        Since:
        8.0.0