com.l2fprod.common.util.converter
Class BooleanConverter

java.lang.Object
  extended by com.l2fprod.common.util.converter.BooleanConverter
All Implemented Interfaces:
Converter

public class BooleanConverter
extends java.lang.Object
implements Converter

Converts a boolean to string and vice-versa.


Constructor Summary
BooleanConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value)
          Converts value to an object of type.
 void register(ConverterRegistry registry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanConverter

public BooleanConverter()
Method Detail

register

public void register(ConverterRegistry registry)

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value)
Description copied from interface: Converter
Converts value to an object of type.

Specified by:
convert in interface Converter
Returns:
value converted to an object of type.