|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.beust.jcommander.defaultprovider.PropertyFileDefaultProvider
public class PropertyFileDefaultProvider
A default provider that reads its default values from a property file.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_FILE_NAME
|
| Constructor Summary | |
|---|---|
PropertyFileDefaultProvider()
|
|
PropertyFileDefaultProvider(java.lang.String fileName)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultValueFor(java.lang.String optionName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_FILE_NAME
| Constructor Detail |
|---|
public PropertyFileDefaultProvider()
public PropertyFileDefaultProvider(java.lang.String fileName)
| Method Detail |
|---|
public java.lang.String getDefaultValueFor(java.lang.String optionName)
getDefaultValueFor in interface IDefaultProvideroptionName - The name of the option as specified in the names() attribute
of the @Parameter option (e.g. "-file").
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||