package at.procon.dip.extraction.spi;

import at.procon.dip.domain.document.DocumentType;

/**
 * Type-specific extraction contract.
 */
public interface DocumentExtractor {

    boolean supports(DocumentType documentType, String mimeType);

    ExtractionResult extract(ExtractionRequest extractionRequest);
}
