public class JRJavacCompiler extends JRAbstractMultiClassCompiler
EXCEPTION_MESSAGE_KEY_JAVA_SOURCE_COMPILE_ERROR
EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE, EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED, PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
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
COMPILER_CLASS, COMPILER_CLASSPATH, COMPILER_KEEP_JAVA_FILE, COMPILER_PREFIX, COMPILER_TEMP_DIR
Constructor and Description |
---|
JRJavacCompiler(JasperReportsContext jasperReportsContext) |
Modifier and Type | Method and Description |
---|---|
String |
compileClasses(File[] sourceFiles,
String classpath)
Compile a set of source files.
|
compileClass
checkLanguage, compileUnits, generateSourceCode, getSourceFileName
classCacheKey, directValueFilter, getClassFromCache, loadClass, loadClass, loadEvaluator, putClassInCache, toCompiledClasses
compileReport, createCompileData, createEvaluator, effectiveDirectValueFilter, getCompilerClass, getSourceFile, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluator
public JRJavacCompiler(JasperReportsContext jasperReportsContext)
public String compileClasses(File[] sourceFiles, String classpath) throws JRException
JRMultiClassCompiler
sourceFiles
- the source filesclasspath
- the classpath to be used when compilingString
containing compile errorsJRException
Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.