Class Converters.StringToBooleanConverter
- java.lang.Object
-
- org.eclipse.core.databinding.conversion.Converter
-
- com._1c.g5.v8.dt.common.databinding.conversion.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 theString
toBoolean
usingConverters.StringToBooleanConverter
:
"true" -> true
"false" -> false)
trim(source) is empty or null -> null
source not a String -> ClassCastException
-
-
Constructor Summary
Constructors Constructor Description StringToBooleanConverter()
Creates a new converter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(Object fromObject)
-