org.apache.commons.convert
Class Converters.PassThruConverterCreator

java.lang.Object
  extended by org.apache.commons.convert.Converters.PassThruConverterCreator
All Implemented Interfaces:
ConverterCreator
Enclosing class:
Converters

protected static class Converters.PassThruConverterCreator
extends Object
implements ConverterCreator


Constructor Summary
protected Converters.PassThruConverterCreator()
           
 
Method Summary
<S,T> Converter<S,T>
createConverter(Class<S> sourceClass, Class<T> targetClass)
          Creates a Converter that can convert the sourceClass to the targetClass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Converters.PassThruConverterCreator

protected Converters.PassThruConverterCreator()
Method Detail

createConverter

public <S,T> Converter<S,T> createConverter(Class<S> sourceClass,
                                            Class<T> targetClass)
Description copied from interface: ConverterCreator
Creates a Converter that can convert the sourceClass to the targetClass. Returns null if this creator doesn't support the class pair.

Specified by:
createConverter in interface ConverterCreator
Parameters:
sourceClass - The source Class to convert from
targetClass - The target Class to convert to
Returns:
A Converter that can convert sourceClass to targetClass


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