org.millscript.millscript.functions
Class ParameterType

java.lang.Object
  extended by org.millscript.millscript.functions.ParameterType

public final class ParameterType
extends java.lang.Object

This utility class helps find a Java class for a given MillScript parameter specifier. The MillScript specifiers are strings containing a fully qualified Java class name or the name of a primitive type.


Method Summary
static java.lang.Class findClass(java.lang.String cname)
          Returns the Java class for a specified parameter type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findClass

public static java.lang.Class findClass(java.lang.String cname)
                                 throws java.lang.ClassNotFoundException
Returns the Java class for a specified parameter type. The parameter type can be either a full qualified Java class name or the name of a primitive type.

Parameters:
cname - the parameter type
Returns:
the Java class for the specified parameter type
Throws:
java.lang.ClassNotFoundException - thrown if a Java class cannot be found for the specified parameter type


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.