mondrian.util
Class UtilCompatibleJdk16
java.lang.Object
mondrian.util.UtilCompatibleJdk15
mondrian.util.UtilCompatibleJdk16
- All Implemented Interfaces:
- UtilCompatible
public class UtilCompatibleJdk16
- extends UtilCompatibleJdk15
Implementation of UtilCompatible that runs in
JDK 1.6.
Prior to JDK 1.6, this class should never be loaded. Applications should
instantiate this class via Class.forName(String) or better, use
methods in Util, and not instantiate it at all.
- Version:
- $Id: //open/mondrian/src/main/mondrian/util/UtilCompatibleJdk16.java#1 $
- Author:
- jhyde
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UtilCompatibleJdk16
public UtilCompatibleJdk16()
compileScript
public <T> T compileScript(Class<T> iface,
String script,
String engineName)
- Description copied from interface:
UtilCompatible
- Compiles a script to yield a Java interface.
- Specified by:
compileScript in interface UtilCompatible- Overrides:
compileScript in class UtilCompatibleJdk15
- Type Parameters:
T - Interface- Parameters:
iface - Interface script should implementscript - Script codeengineName - Name of engine (e.g. "JavaScript")
- Returns:
- Object that implements given interface