Top Description Constructors Methods
com.beust.jcommander.converters

public Class BooleanConverter

extends BaseConverter<Boolean>
Class Inheritance
Imports
com.beust.jcommander.ParameterException

Converts a string to a boolean.
Author
cbeust

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Boolean
Inherited from com.beust.jcommander.converters.BaseConverter:
getErrorStringgetOptionName

Constructor Detail

BooleanConverterback to summary
public BooleanConverter(String optionName)

Method Detail

convertback to summary
public Boolean convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:Boolean

Doc from com.beust.jcommander.IStringConverter.convert.

an object of type T created from the parameter value.