|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.OutputHandlerFactory
public class OutputHandlerFactory
This class provides a factory for retrieving a specific OutputHandler implementation.
OutputHandler| Method Summary | |
|---|---|
static OutputHandler |
getOutputHandler(java.lang.Class<?> cls)
Get an instance of the named OutputHandler class. |
static OutputHandler |
getOutputHandler(java.lang.String className)
Get an instance of the named OutputHandler class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OutputHandler getOutputHandler(java.lang.Class<?> cls)
throws CurnException
OutputHandler interface, instantiates it (via its default
constructor), and returns the resulting OutputHandler object.
cls - the class for the output handler
CurnException - Error instantiating class. The exception will
contain the real underlying exception.
public static OutputHandler getOutputHandler(java.lang.String className)
throws CurnException
OutputHandler interface, instantiates it (via its default
constructor), and returns the resulting OutputHandler object.
className - the class name
CurnException - Error instantiating class. The exception will
contain the real underlying exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||