Class JRAbstractMultiClassCompiler
- java.lang.Object
-
- net.sf.jasperreports.engine.design.JRAbstractCompiler
-
- net.sf.jasperreports.engine.design.JRAbstractJavaCompiler
-
- net.sf.jasperreports.engine.design.JRAbstractClassCompiler
-
- net.sf.jasperreports.engine.design.JRAbstractMultiClassCompiler
-
- All Implemented Interfaces:
JRClassCompiler
,JRCompiler
,JRMultiClassCompiler
- Direct Known Subclasses:
JRJavacCompiler
,JRJdk13Compiler
public abstract class JRAbstractMultiClassCompiler extends JRAbstractClassCompiler
Base class for multiple class compilers.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_JAVA_SOURCE_COMPILE_ERROR
-
Fields inherited from class net.sf.jasperreports.engine.design.JRAbstractJavaCompiler
EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE, EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED, PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
-
Fields inherited from class net.sf.jasperreports.engine.design.JRAbstractCompiler
EXCEPTION_MESSAGE_KEY_CROSSTAB_ID_NOT_FOUND, EXCEPTION_MESSAGE_KEY_DESIGN_COMPILE_ERROR, EXCEPTION_MESSAGE_KEY_LANGUAGE_NOT_SUPPORTED, EXCEPTION_MESSAGE_KEY_REPORT_EXPRESSIONS_COMPILE_ERROR, EXCEPTION_MESSAGE_KEY_TEMP_DIR_NOT_FOUND, jasperReportsContext, reportClassFilter
-
Fields inherited from interface net.sf.jasperreports.engine.design.JRCompiler
COMPILER_CLASS, COMPILER_CLASSPATH, COMPILER_KEEP_JAVA_FILE, COMPILER_PREFIX, COMPILER_TEMP_DIR
-
-
Constructor Summary
Constructors Constructor Description JRAbstractMultiClassCompiler(JasperReportsContext jasperReportsContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
compileClass(File sourceFile, String classpath)
-
Methods inherited from class net.sf.jasperreports.engine.design.JRAbstractClassCompiler
checkLanguage, compileUnits, generateSourceCode, getSourceFileName
-
Methods inherited from class net.sf.jasperreports.engine.design.JRAbstractJavaCompiler
classCacheKey, directValueFilter, getClassFromCache, loadClass, loadClass, loadEvaluator, putClassInCache, toCompiledClasses
-
Methods inherited from class net.sf.jasperreports.engine.design.JRAbstractCompiler
compileReport, createCompileData, createEvaluator, effectiveDirectValueFilter, getCompilerClass, getSourceFile, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.design.JRMultiClassCompiler
compileClasses
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_JAVA_SOURCE_COMPILE_ERROR
public static final String EXCEPTION_MESSAGE_KEY_JAVA_SOURCE_COMPILE_ERROR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JRAbstractMultiClassCompiler
public JRAbstractMultiClassCompiler(JasperReportsContext jasperReportsContext)
-
-
Method Detail
-
compileClass
public String compileClass(File sourceFile, String classpath) throws JRException
- Throws:
JRException
-
-