Interface IDocumentContentExtractor


public interface IDocumentContentExtractor
Interface for extracting content from documents.
  • Method Summary

    Modifier and Type
    Method
    Description
    extractContent(byte[] document, org.springframework.http.MediaType mediaType)
    Extracts the content from the given document.
  • Method Details

    • extractContent

      DocumentContent extractContent(byte[] document, org.springframework.http.MediaType mediaType)
      Extracts the content from the given document.
      Parameters:
      document - the document to extract content from
      mediaType - the media type of the document
      Returns:
      the extracted content
      Throws:
      DocumentExtractionException - when the document contents cannot be extracted.