com.beust.jcommander.converters
Class BooleanConverter
java.lang.Object
com.beust.jcommander.converters.BaseConverter<Boolean>
com.beust.jcommander.converters.BooleanConverter
- All Implemented Interfaces:
- IStringConverter<Boolean>
public class BooleanConverter
- extends BaseConverter<Boolean>
Converts a string to a boolean.
- Author:
- cbeust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanConverter
public BooleanConverter(String optionName)
convert
public Boolean convert(String value)
- Returns:
- an object of type created from the parameter value.
Copyright © 2011. All Rights Reserved.