public EncodingDetector getEncodingDetector() {
        return encodingDetector;
    }
Returns the configured encoding detector instance

@return configured encoding detector
tika-core/src/main/java/org/apache/tika/config/TikaConfig.java