java.lang.Cloneable
, TypeConvertor
, TypeConvertor
public final class StringToBoolean extends AbstractTypeConvertor
String
to Boolean
.Constructor | Description |
---|---|
StringToBoolean() |
Default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
configure(AbstractProperties properties) |
Configure the converter with given configuration.
|
java.lang.Object |
convert(java.lang.Object object) |
Convert the object from one type to another.
|
void |
parameterize(java.lang.String parameter) |
Initialize the converter with the given parameter.
|
clone, fromType, toString, toType
public void configure(AbstractProperties properties)
properties
- Properties to use.public void parameterize(java.lang.String parameter)
null
which both should lead to
the default behaviour of the converter.parameter
- The parameter for the convertor (null if is not specified).public java.lang.Object convert(java.lang.Object object)
object
- The object to convert.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com