package at.procon.dip.classification.spi;

import at.procon.dip.ingestion.spi.SourceDescriptor;

/**
 * Determines a canonical type/family before extraction starts.
 */
public interface DocumentTypeDetector {

    boolean supports(SourceDescriptor sourceDescriptor);

    DetectionResult detect(SourceDescriptor sourceDescriptor);
}
