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, stringPropertyNames
clear, 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, values
public XWikiConfig()
public XWikiConfig(String path) throws XWikiException
XWikiException
public XWikiConfig(InputStream is) throws XWikiException
XWikiException
public void loadConfig(InputStream is, String path) throws XWikiException
XWikiException
public 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 Properties
Properties.getProperty(java.lang.String, java.lang.String)
public String getProperty(String key)
This method trims the spaces around the value.
getProperty
in class Properties
Properties.getProperty(java.lang.String)
Copyright © 2004–2022 XWiki. All rights reserved.