public class WebgoatProperties extends Properties
defaults| Constructor and Description |
|---|
WebgoatProperties(String propertiesFileName)
Constructor for WebgoatProperties.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanProperty(String key,
boolean defaultValue)
getBooleanProperty.
|
int |
getIntProperty(String key,
int defaultValue)
getIntProperty.
|
static void |
main(String[] args)
main.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuespublic WebgoatProperties(String propertiesFileName) throws IOException
Constructor for WebgoatProperties.
propertiesFileName - a String object.IOException - if any.public int getIntProperty(String key, int defaultValue)
getIntProperty.
key - a String object.defaultValue - a int.public boolean getBooleanProperty(String key, boolean defaultValue)
getBooleanProperty.
key - a String object.defaultValue - a boolean.Copyright © 2006–2016 OWASP. All rights reserved.