Package weka.core

# Class EnvironmentProperties

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
weka.core.EnvironmentProperties

All Implemented Interfaces:
  `Serializable`, `Cloneable`, `Map<Object,Object>`

public class EnvironmentProperties extends Properties
Extends Properties to allow the value of a system property (if set) to override that which has been loaded/set. This allows the user to override from the command line any property that is loaded into a property file via weka.core.Utils.readProperties().

Version:
  $Revision: 12232 $
Author:
  Mark Hall (mhall{[at]}pentaho{[dot]}com)
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EnvironmentProperties()`
  `EnvironmentProperties(Properties props)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getProperty(String key)`

  ### Methods inherited from class java.util.Properties

  `clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### EnvironmentProperties

    public EnvironmentProperties()

  - ### EnvironmentProperties

    public EnvironmentProperties(Properties props)

- ## Method Details

  - ### getProperty

    public String getProperty(String key)
    Overrides:
      `getProperty` in class `Properties`