public class JRJavacCompiler extends JRAbstractMultiClassCompiler
EXCEPTION_MESSAGE_KEY_JAVA_SOURCE_COMPILE_ERROREXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE, EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED, PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLEDEXCEPTION_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, jasperReportsContextCOMPILER_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.
|
compileClasscheckLanguage, compileUnits, generateSourceCode, getSourceFileNameclassCacheKey, getClassFromCache, loadEvaluator, putClassInCachecompileReport, getCompilerClass, getSourceFile, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluatorpublic JRJavacCompiler(JasperReportsContext jasperReportsContext)
public String compileClasses(File[] sourceFiles, String classpath) throws JRException
JRMultiClassCompilersourceFiles - the source filesclasspath - the classpath to be used when compilingString containing compile errorsJRExceptionCopyright © 2017. All rights reserved.