|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.filteredpush.mapper.converter.BooleanConverter
public class BooleanConverter
Converter to handle the boolean value.
| Constructor Summary | |
|---|---|
BooleanConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getAsObject(java.lang.String value)
Convert data from the webUI to the format accepted by the driver. |
java.lang.String |
getAsString(java.lang.Object value)
Convert data from the driver to the format accepted by the webUI. |
void |
setConfig(java.util.Map<java.lang.String,java.lang.String> conf)
Configure this converter, e.g. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanConverter()
| Method Detail |
|---|
public java.lang.Object getAsObject(java.lang.String value)
throws ConverterException
Converter
getAsObject in interface Convertervalue - Input value from the webUI.
ConverterException
public java.lang.String getAsString(java.lang.Object value)
throws ConverterException
Converter
getAsString in interface Convertervalue - Object returned from driver.
ConverterExceptionpublic void setConfig(java.util.Map<java.lang.String,java.lang.String> conf)
Converter
setConfig in interface Converterconf - Configuration in map.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||