public class TopcatJELUtils
extends uk.ac.starlink.ttools.jel.JELUtils
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ACTIVATION_CLASSES_PROPERTY |
Constructor | Description |
---|---|
TopcatJELUtils() |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Class |
classForName(java.lang.String cname) |
Returns the class with the given name, or null if it's not on the
path.
|
static java.util.List<java.lang.Class> |
getActivationStaticClasses() |
Returns the list of classes whose static methods will be mapped
into the JEL evaluation namespace for activation purposes only.
|
static gnu.jel.Library |
getLibrary(uk.ac.starlink.ttools.jel.JELRowReader rowReader,
boolean activation) |
Returns a JEL Library suitable for expression evaluation.
|
static java.lang.Class |
wrapPrimitiveClass(java.lang.Class prim) |
Turns a primitive class into the corresponding wrapper class.
|
public static final java.lang.String ACTIVATION_CLASSES_PROPERTY
public static gnu.jel.Library getLibrary(uk.ac.starlink.ttools.jel.JELRowReader rowReader, boolean activation)
rowReader
- object which can read rows from the table to
be used for expression evaluationactivation
- true iff the result is to include classes
used only for activation (e.g. write to System.out,
pop up viewers) as well as classes with methods for
calculationspublic static java.util.List<java.lang.Class> getActivationStaticClasses()
public static java.lang.Class wrapPrimitiveClass(java.lang.Class prim)
prim
- primitive classpublic static java.lang.Class classForName(java.lang.String cname)
cname
- class nameCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.