Class ResourceConfiguration

    • Constructor Detail

      • ResourceConfiguration

        public ResourceConfiguration​(String resourcePath)
    • Method Detail

      • isSet

        public boolean isSet()
        Description copied from interface: Configuration
        Checks if this source has some configuration set.
        Specified by:
        isSet in interface Configuration
        Returns:
        true if this source holds any configuration value.
      • read

        public String read()
        Description copied from interface: Configuration
        Assumes this configuration value is pointing to an external location and reads the value at that location.
        Specified by:
        read in interface Configuration
        Returns:
        the value stored in the location defined by this configuration.
      • readLines

        public List<String> readLines()
        Description copied from interface: Configuration
        Assumes this configuration value is pointing to an external location and reads the lines at that location.
        Specified by:
        readLines in interface Configuration
        Returns:
        the lines stored in the location defined by this configuration.