Class YesNoValueHandler.YesNoStringConverter

java.lang.Object
org.tquadrat.foundation.config.cli.YesNoValueHandler.YesNoStringConverter
All Implemented Interfaces:
Serializable, StringConverter<Boolean>
Enclosing class:
YesNoValueHandler

@ClassVersion(sourceVersion="$Id: YesNoValueHandler.java 1078 2023-10-19 14:39:47Z tquadrat $") @API(status=STABLE, since="0.0.1") private static final class YesNoValueHandler.YesNoStringConverter extends Object implements StringConverter<Boolean>

An implementation of StringConverter that translates 'yes' in various languages into true.

'yes', 'true' and 'ok' will always be taken as true, the other variants only when valid for the current locale/language.

Author:
Thomas Thrien - thomas.thrien@tquadrat.org
Version:
$Id: YesNoValueHandler.java 1078 2023-10-19 14:39:47Z tquadrat $
Since:
0.0.1
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.config.cli.YesNoValueHandler.YesNoStringConverter"

UML Diagram for "org.tquadrat.foundation.config.cli.YesNoValueHandler.YesNoStringConverter"

UML Diagram for "org.tquadrat.foundation.config.cli.YesNoValueHandler.YesNoStringConverter"