mondrian.util
Class UtilCompatibleJdk16

java.lang.Object
  extended by mondrian.util.UtilCompatibleJdk15
      extended by 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

Constructor Summary
UtilCompatibleJdk16()
           
 
Method Summary
<T> T
compileScript(Class<T> iface, String script, String engineName)
          Compiles a script to yield a Java interface.
 
Methods inherited from class mondrian.util.UtilCompatibleJdk15
generateUuidString, getAnnotation, makeBigDecimalFromDouble, quotePattern, threadLocalRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilCompatibleJdk16

public UtilCompatibleJdk16()
Method Detail

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 implement
script - Script code
engineName - Name of engine (e.g. "JavaScript")
Returns:
Object that implements given interface

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads