org.codehaus.spice.converter.lib
Class SimpleConverterFactory
java.lang.Object
|
+--org.codehaus.spice.converter.lib.SimpleConverterFactory
- All Implemented Interfaces:
- ConverterFactory
- public class SimpleConverterFactory
- extends Object
- implements ConverterFactory
A ConverterFactory that creates converter instances using reflection.
- Version:
- $Revision: 1.1 $ $Date: 2003/12/02 08:37:56 $
- Author:
- Adam Murdoch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleConverterFactory
public SimpleConverterFactory(Class converterClass)
createConverter
public Converter createConverter()
throws Exception
- Creates an instance of a converter.
- Specified by:
createConverter
in interface ConverterFactory
- Returns:
- the Converter object
- Throws:
Exception
- if unable to create converter
Copyright © 2000-2003 Codehaus. All Rights Reserved.