Class Converters.StringToBooleanConverter

  • All Implemented Interfaces:
    org.eclipse.core.databinding.conversion.IConverter
    Enclosing class:
    Converters

    public static class Converters.StringToBooleanConverter
    extends org.eclipse.core.databinding.conversion.Converter
    Converts the String to Boolean using Converters.StringToBooleanConverter:
    "true" -> true
    "false" -> false)
    trim(source) is empty or null -> null
    source not a String -> ClassCastException
    • Constructor Detail

      • StringToBooleanConverter

        public StringToBooleanConverter()
        Creates a new converter
    • Method Detail