Package com.xpn.xwiki
Class XWikiConfig
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- com.xpn.xwiki.XWikiConfig
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
@Deprecated public class XWikiConfig extends Properties
Deprecated.since 6.1M2, useXWikiCfgConfigurationSource
component instead- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description XWikiConfig()
Deprecated.XWikiConfig(InputStream is)
Deprecated.XWikiConfig(String path)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Constructor Detail
-
XWikiConfig
public XWikiConfig()
Deprecated.
-
XWikiConfig
public XWikiConfig(String path) throws XWikiException
Deprecated.- Throws:
XWikiException
-
XWikiConfig
public XWikiConfig(InputStream is) throws XWikiException
Deprecated.- Throws:
XWikiException
-
-
Method Detail
-
loadConfig
public void loadConfig(InputStream is, String path) throws XWikiException
Deprecated.- Throws:
XWikiException
-
getPropertyAsList
public String[] getPropertyAsList(String param)
Deprecated.- Parameters:
param
- - name of property- Returns:
- array of string splited from property.
-
getProperty
public String getProperty(String key, String defaultValue)
Deprecated.This method trims the spaces around the value.
- Overrides:
getProperty
in classProperties
- See Also:
Properties.getProperty(java.lang.String, java.lang.String)
-
getProperty
public String getProperty(String key)
Deprecated.This method trims the spaces around the value.
- Overrides:
getProperty
in classProperties
- See Also:
Properties.getProperty(java.lang.String)
-
-