Interface ConfigurationProvider


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

    Modifier and Type
    Method
    Description
    boolean
    Checks if the given configuration path exists
    Get the content of the given configuration file
  • Method Details

    • 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