org.apache.commons.convert
Class BooleanConverters

java.lang.Object
  extended by org.apache.commons.convert.BooleanConverters
All Implemented Interfaces:
ConverterLoader

public class BooleanConverters
extends Object
implements ConverterLoader

Boolean Converter classes.


Nested Class Summary
static class BooleanConverters.BooleanToInteger
          An object that converts a Boolean to an Integer.
static class BooleanConverters.IntegerToBoolean
          An object that converts an Integer to a Boolean.
static class BooleanConverters.StringToBoolean
          An object that converts a String to a Boolean.
 
Constructor Summary
BooleanConverters()
           
 
Method Summary
 void loadConverters()
          Create and register converters with the Java object type conversion framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanConverters

public BooleanConverters()
Method Detail

loadConverters

public void loadConverters()
Description copied from interface: ConverterLoader
Create and register converters with the Java object type conversion framework. If the converter extends one of the converter abstract classes, then the converter will register itself when an instance is created. Otherwise, call Converters.registerConverter(Converter) with the Converter instance.

Specified by:
loadConverters in interface ConverterLoader


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.