public static <T> T newInstance(String className) {
        return newInstance(className, ServiceLoader.class.getClassLoader());
    }
Loads a class and instantiates it

@param className service class name
@param <T>       service type
@return instance of service
tika-core/src/main/java/org/apache/tika/utils/ServiceLoaderUtils.java