|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.test.COFormatterFactory
public class COFormatterFactory
This class exists to create specific COFormatter
instances. The Math ClassLoader can be enabled or not and, as with similar classes, the
fully-qualified name of the class is required.
Constructor Summary | |
---|---|
COFormatterFactory()
Scripting constructor. |
Method Summary | |
---|---|
static COFormatter |
createFormatter(java.lang.String pName,
boolean pUseMTCL)
Static convenience method to create COFormatter s. |
COFormatter |
getFormatter(java.lang.String pName)
Create and return a COFormatter . |
void |
setMathClassLoader(boolean pEnable)
Enable/disable the Math ClassLoader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public COFormatterFactory()
Method Detail |
---|
public void setMathClassLoader(boolean pEnable)
pEnable
- true to use the Math ClassLoader, false to disable it.public COFormatter getFormatter(java.lang.String pName)
COFormatter
. The full classname must be supplied otherwise this method returns null. Any errors are reported at Error level
and the return value is null.
pName
- The name of the COFormatter implementation to create.
public static COFormatter createFormatter(java.lang.String pName, boolean pUseMTCL)
COFormatter
s. If an error occurs or the class cannot be created null is returned.
pName
- The name of the COFormatter
class to create.pUseMTCL
- true to use the Math ClassLoader, false not to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |