Class FileOptionsConfiguration
- java.lang.Object
-
- org.apache.torque.generator.configuration.option.FileOptionsConfiguration
-
- All Implemented Interfaces:
OptionsConfiguration
- Direct Known Subclasses:
PropertiesOptionConfiguration
,XmlOptionConfiguration
public abstract class FileOptionsConfiguration extends Object
An options configuration which reads options from a file. $Id: FileOptionsConfiguration.java 1839288 2018-08-27 09:48:33Z tv $
-
-
Constructor Summary
Constructors Constructor Description FileOptionsConfiguration()
-
-
-
Method Detail
-
getPath
public String getPath()
Returns the path to the options file.- Returns:
- the path, not null if type is xml or properties.
-
toOptions
protected Collection<Option> toOptions(Map<? extends Object,? extends Object> optionsMap)
Creates options from a Map and returns them.- Parameters:
optionsMap
- the map containing the option qualified names as key and the option value as value. optionsMap and the keys therein must not be null.- Returns:
- the options, not null.
-
-