net.janino.samples
Class DemoBase

java.lang.Object
  |
  +--net.janino.samples.DemoBase
Direct Known Subclasses:
ClassBodyDemo, ExpressionDemo, ScriptDemo

public class DemoBase
extends java.lang.Object

Common base class for the "...Demo" classes that demostrate Janino.


Field Summary
(package private) static java.lang.String cvs_header
           
 
Constructor Summary
protected DemoBase()
           
 
Method Summary
protected static java.lang.Object createObject(java.lang.Class type, java.lang.String value)
           
protected static java.lang.String[] explode(java.lang.String s)
           
protected static java.lang.Class stringToType(java.lang.String s)
           
protected static java.lang.Class[] stringToTypes(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cvs_header

static final java.lang.String cvs_header
Constructor Detail

DemoBase

protected DemoBase()
Method Detail

createObject

protected static java.lang.Object createObject(java.lang.Class type,
                                               java.lang.String value)
                                        throws java.lang.NoSuchMethodException,
                                               java.lang.InstantiationException,
                                               java.lang.reflect.InvocationTargetException,
                                               java.lang.IllegalAccessException

explode

protected static java.lang.String[] explode(java.lang.String s)

stringToType

protected static java.lang.Class stringToType(java.lang.String s)

stringToTypes

protected static java.lang.Class[] stringToTypes(java.lang.String s)