Class JRJdk13Compiler
-
- All Implemented Interfaces:
JRClassCompiler
,JRCompiler
,JRMultiClassCompiler
public class JRJdk13Compiler extends JRAbstractMultiClassCompiler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.design.JRAbstractMultiClassCompiler
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 JRJdk13Compiler(JasperReportsContext jasperReportsContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
compileClasses(File[] sourceFiles, String classpath)
Compile a set of source files.-
Methods inherited from class net.sf.jasperreports.engine.design.JRAbstractMultiClassCompiler
compileClass
-
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
-
-
-
-
Constructor Detail
-
JRJdk13Compiler
public JRJdk13Compiler(JasperReportsContext jasperReportsContext)
-
-
Method Detail
-
compileClasses
public String compileClasses(File[] sourceFiles, String classpath) throws JRException
Description copied from interface:JRMultiClassCompiler
Compile a set of source files.- Parameters:
sourceFiles
- the source filesclasspath
- the classpath to be used when compiling- Returns:
- a
String
containing compile errors - Throws:
JRException
-
-