XWikiCfgConfigurationSource component instead@Deprecated public class XWikiConfig extends Properties
defaults| Constructor and Description |
|---|
XWikiConfig()
Deprecated.
|
XWikiConfig(InputStream is)
Deprecated.
|
XWikiConfig(String path)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key)
Deprecated.
|
String |
getProperty(String key,
String defaultValue)
Deprecated.
|
String[] |
getPropertyAsList(String param)
Deprecated.
|
void |
loadConfig(InputStream is,
String path)
Deprecated.
|
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 XWikiConfig()
public XWikiConfig(String path) throws XWikiException
XWikiExceptionpublic XWikiConfig(InputStream is) throws XWikiException
XWikiExceptionpublic void loadConfig(InputStream is, String path) throws XWikiException
XWikiExceptionpublic String[] getPropertyAsList(String param)
param - - name of propertypublic String getProperty(String key, String defaultValue)
This method trims the spaces around the value.
getProperty in class PropertiesProperties.getProperty(java.lang.String, java.lang.String)public String getProperty(String key)
This method trims the spaces around the value.
getProperty in class PropertiesProperties.getProperty(java.lang.String)Copyright © 2004–2021 XWiki. All rights reserved.