org.apache.torque.generator.configuration.option
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 1331190 2012-04-27 02:41:35Z tfischer $
FileOptionsConfiguration
public FileOptionsConfiguration()
getPath
public String getPath()
- Returns the path to the options file.
- Returns:
- the path, not null if type is xml or properties.
toString
public String toString()
- Overrides:
toString
in class Object
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.
Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.