Class PropertyConfiguration


  • public class PropertyConfiguration
    extends Configuration
    Implementation class to read the properties controlling the spell engine. The properties are read form the configuration.properties file.
    Author:
    aim4min
    • Field Detail

      • prop

        public java.util.Properties prop
        The persistent set of properties supported by the spell engine
      • filename

        public java.net.URL filename
        The name of the file containing spell engine properties
    • Constructor Detail

      • PropertyConfiguration

        public PropertyConfiguration()
        Constructs and loads spell engine properties configuration.
    • Method Detail

      • getBoolean

        public boolean getBoolean​(java.lang.String key)
        Description copied from class: Configuration
        Gets one of the boolean constants
        Specified by:
        getBoolean in class Configuration
        Parameters:
        key - one of the boolean constants defined in this class
        Returns:
        boolean value of the setting
        See Also:
        Configuration.getBoolean(String)
      • save

        public void save()
        Writes the property list (key and element pairs) in the PropertyConfiguration file.