public class PropertyFileDefaultProvider extends java.lang.Object implements IDefaultProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FILE_NAME |
private java.util.Properties |
properties |
Constructor and Description |
---|
PropertyFileDefaultProvider() |
PropertyFileDefaultProvider(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValueFor(java.lang.String optionName) |
private void |
init(java.lang.String fileName) |
public static final java.lang.String DEFAULT_FILE_NAME
private java.util.Properties properties
public PropertyFileDefaultProvider()
public PropertyFileDefaultProvider(java.lang.String fileName)
private void init(java.lang.String fileName)
public java.lang.String getDefaultValueFor(java.lang.String optionName)
getDefaultValueFor
in interface IDefaultProvider
optionName
- The name of the option as specified in the names() attribute
of the @Parameter option (e.g. "-file").