Interface ConfigurationProvider


  • public interface ConfigurationProvider
    Defines the operations to access configuration files
    Since:
    3.1.6
    Author:
    joseross
    • Method Detail

      • configExists

        boolean configExists​(String path)
        Checks if the given configuration path exists
        Parameters:
        path - the configuration path
        Returns:
        true if the configuration exists
      • getConfig

        InputStream getConfig​(String path)
                       throws IOException
        Get the content of the given configuration file
        Parameters:
        path - the configuration path
        Returns:
        the content of the configuration
        Throws:
        IOException - if there is any error reading the configuration