Interface IDocumentContentExtractor
public interface IDocumentContentExtractor
Interface for extracting content from documents.
-
Method Summary
Modifier and TypeMethodDescriptionextractContent(byte[] document, org.springframework.http.MediaType mediaType) Extracts the content from the given document.
-
Method Details
-
extractContent
Extracts the content from the given document.- Parameters:
document- the document to extract content frommediaType- the media type of the document- Returns:
- the extracted content
- Throws:
DocumentExtractionException- when the document contents cannot be extracted.
-