cz.cuni.amis.utils.configuration.providers
Class AbstractPropertiesProvider
java.lang.Object
cz.cuni.amis.utils.configuration.PropertyProvider
cz.cuni.amis.utils.configuration.providers.AbstractPropertiesProvider
- All Implemented Interfaces:
- Comparable<PropertyProvider>
public abstract class AbstractPropertiesProvider
- extends PropertyProvider
Wrapper of java.util.Properties class.
- Author:
- ik
AbstractPropertiesProvider
public AbstractPropertiesProvider(InputStream is,
String sourceDescription)
- Parameters:
sourceDescription
- human readable decription of resource from which the properties were readis
- Reader from which the Properties can be loaded.
getProperty
public String getProperty(String key)
- Description copied from class:
PropertyProvider
- Searches for given property key.
- Specified by:
getProperty
in class PropertyProvider
- Returns:
- null if the property wasn't found
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.