net.sourceforge.argval.collection
Class CollectionUtilConfigFactory
java.lang.Object
net.sourceforge.argval.collection.CollectionUtilConfigFactory
public class CollectionUtilConfigFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_FILE_SEPARATOR
public static final String CONFIG_FILE_SEPARATOR
- See Also:
- Constant Field Values
CONFIG_PROPERTY_KEY_SEPARATOR
public static final String CONFIG_PROPERTY_KEY_SEPARATOR
- See Also:
- Constant Field Values
CONFIG_LIST
public static final String CONFIG_LIST
- See Also:
- Constant Field Values
CONFIG_TUPLE
public static final String CONFIG_TUPLE
- See Also:
- Constant Field Values
CONFIG_DICTIONARY
public static final String CONFIG_DICTIONARY
- See Also:
- Constant Field Values
CONFIG_TEXT_UNORDERED_LIST
public static final String CONFIG_TEXT_UNORDERED_LIST
- See Also:
- Constant Field Values
CollectionUtilConfigFactory
public CollectionUtilConfigFactory()
create
public CollectionUtilConfig create(String name,
String valueSeparator)
- Creates and registers a configuration, which only makes use of a value separator.
This can be used to concatinate directory and file structures, or class names
(including their packages names).
When having a List of directory names like
[ "com", "company", "project"]
and a configuration with "/" as separator this can concatinated to "com/company/project".
Or "com.company.project", when "." us used as separator.
- Parameters:
name
- The name under which the configuration is registered.valueSeparator
- The value separator to use.
- Returns:
- The configuration.
create
public static CollectionUtilConfig create(String valueSeparator)
setConfig
public void setConfig(String name,
CollectionUtilConfig config)
getConfig
public CollectionUtilConfig getConfig(String name)
Copyright © 2013 Verhagen Software. All Rights Reserved.