Class BooleanConverter

  • All Implemented Interfaces:
    IStringConverter<java.lang.Boolean>

    public class BooleanConverter
    extends BaseConverter<java.lang.Boolean>
    Converts a string to a boolean.
    • Constructor Summary

      Constructors 
      Constructor Description
      BooleanConverter​(java.lang.String optionName)  
    • Constructor Detail

      • BooleanConverter

        public BooleanConverter​(java.lang.String optionName)
    • Method Detail

      • convert

        public java.lang.Boolean convert​(java.lang.String value)
        Returns:
        an object of type T created from the parameter value.