All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.polyfillservice.api.interfaces.PolyfillConfigLoaderService Maven / Gradle / Ivy

The newest version!
package org.polyfillservice.api.interfaces;

import java.io.IOException;
import java.util.Map;

/**
 * Created by bvenkataraman on 10/19/16.
 * Service to load polyfill related configurations. e.g. aliases, browser requirements, etc.
 */
public interface PolyfillConfigLoaderService {

    /**
     * Retrieve a JSON config file from specified path and convert it into a Map
     *
     * @param first first segment of the config file path
     * @param more rest of the segments of the config file path
     * @return configMap - Returns the JSON config in a HashMap format
     * @throws IOException throws exception if file is not found at the specified path
     */
    Map getConfig(String first, String ... more) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy