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>
public class XWikiConfig
- extends Properties
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
XWikiConfig
public XWikiConfig()
XWikiConfig
public XWikiConfig(String path)
throws XWikiException
- Throws:
XWikiException
XWikiConfig
public XWikiConfig(InputStream is)
throws XWikiException
- Throws:
XWikiException
loadConfig
public void loadConfig(InputStream is,
String path)
throws XWikiException
- Throws:
XWikiException
getPropertyAsList
public String[] getPropertyAsList(String param)
- Parameters:
param
- - name of property
- Returns:
- array of string splited from property.
getProperty
public String getProperty(String key,
String defaultValue)
-
This method trims the spaces around the value.
- Overrides:
getProperty
in class Properties
- See Also:
Properties.getProperty(java.lang.String, java.lang.String)
getProperty
public String getProperty(String key)
-
This method trims the spaces around the value.
- Overrides:
getProperty
in class Properties
- See Also:
Properties.getProperty(java.lang.String)
Copyright © 2004–2014 XWiki. All rights reserved.