net.sourceforge.argval.impl
Class PropertiesConfigurationManager
java.lang.Object
net.sourceforge.argval.impl.PropertiesConfigurationManager
- All Implemented Interfaces:
- ConfigurationManager
public class PropertiesConfigurationManager
- extends Object
- implements ConfigurationManager
This ConfigurationManager contains helper methods for the class ArgumentValidationImpl
.
- Author:
- T. Verhagen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesConfigurationManager
public PropertiesConfigurationManager()
createPatternProperties
public Properties createPatternProperties(Map<String,String> patternMap)
- Specified by:
createPatternProperties
in interface ConfigurationManager
- Returns:
createPatternMapOldSchool
public Map<String,String> createPatternMapOldSchool(Properties properties)
- Specified by:
createPatternMapOldSchool
in interface ConfigurationManager
createPatternMap
public Map<String,String> createPatternMap(Properties properties)
- Description copied from interface:
ConfigurationManager
- argument_validation.pattern[number].regexp = ^[0-9]+$
argument_validation.pattern[telephone_number].regexp = ....
- Specified by:
createPatternMap
in interface ConfigurationManager
- Returns:
createDateFormatMap
public Map<String,String> createDateFormatMap(Properties properties)
- Specified by:
createDateFormatMap
in interface ConfigurationManager
Copyright © 2013 Verhagen Software. All Rights Reserved.