org.constretto.internal.store
Class PropertiesStore
java.lang.Object
org.constretto.internal.store.PropertiesStore
- All Implemented Interfaces:
- ConfigurationStore
- Direct Known Subclasses:
- EncryptedPropertiesStore
public class PropertiesStore
- extends Object
- implements ConfigurationStore
This is a store for text files implementing key=value pairs. Also, it supports adding a convention of tgsa to
ordinary properties. For tags, we use a specific prefix which can be configured by the user, whose default value is "@".
Please see ConstrettoBuilder.addCurrentTag(String) for more information on the tag concept.
- Author:
- Kristoffer Moum
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesStore
public PropertiesStore()
addResource
public PropertiesStore addResource(Resource resource)
parseConfiguration
public List<TaggedPropertySet> parseConfiguration()
- Specified by:
parseConfiguration in interface ConfigurationStore
parseProperties
protected Properties parseProperties(Properties props)
- Used by sublclasses
- Parameters:
props - the properties currently read
- Returns:
- the argument
Copyright © 2008-2013. All Rights Reserved.