Package org.cyclos.impl.utils.formatting
Class BooleanValueFormatter
- java.lang.Object
-
- org.cyclos.impl.utils.formatting.BooleanValueFormatter
-
- All Implemented Interfaces:
ValueFormatter
public class BooleanValueFormatter extends Object implements ValueFormatter
A formatter which formats booleans as yes / no
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringformat(Object bean, Object value, FormatterImpl formatter)Formats the given valuestatic BooleanValueFormatterinstance()
-
-
-
Method Detail
-
instance
public static BooleanValueFormatter instance()
-
format
public String format(Object bean, Object value, FormatterImpl formatter)
Description copied from interface:ValueFormatterFormats the given value- Specified by:
formatin interfaceValueFormatter
-
-