public class BooleanConverter extends Object implements TypeConverter<Boolean>
Boolean
.parseBoolean(), so look there for all its peccadilloes.Boolean.parseBoolean(String)| Constructor and Description |
|---|
BooleanConverter() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
convert(String input)
Convert a string into a Boolean or null.
|
public Boolean convert(String input)
convert in interface TypeConverter<Boolean>input - the input stringnull if input is null or blank, or a Boolean as if by parseBoolean.Boolean.parseBoolean(String)Copyright © 2015. All rights reserved.