com.beust.jcommander
Interface IDefaultProvider

All Known Implementing Classes:
PropertyFileDefaultProvider

public interface IDefaultProvider

Allows the specification of default values.

Author:
cbeust

Method Summary
 String getDefaultValueFor(String optionName)
           
 

Method Detail

getDefaultValueFor

String getDefaultValueFor(String optionName)
Parameters:
optionName - The name of the option as specified in the names() attribute of the @Parameter option (e.g. "-file").
Returns:
the default value for this option.


Copyright © 2012. All Rights Reserved.