Class ResourceLoaderConfig


  • public class ResourceLoaderConfig
    extends IConfig
    Configuration that loads config stream from a IResourceLoader instance.
    • Constructor Detail

      • ResourceLoaderConfig

        public ResourceLoaderConfig​(IResourceLoader resourceLoader)
      • ResourceLoaderConfig

        public ResourceLoaderConfig​(IResourceLoader resourceLoader,
                                    String configName)
    • Method Detail

      • getProperty

        public String getProperty​(String name)
        Description copied from class: IConfig
        Same semantic of Properties
        Specified by:
        getProperty in class IConfig
        Parameters:
        name - property name.
        Returns:
        property value.
      • getProperty

        public String getProperty​(String name,
                                  String defaultValue)
        Description copied from class: IConfig
        Same semantic of Properties
        Specified by:
        getProperty in class IConfig
        Parameters:
        name - property name.
        defaultValue - default value to return in case the property doesn't exists.
        Returns:
        property value.