public abstract class JRAbstractSingleClassCompiler extends JRAbstractClassCompiler
EXCEPTION_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 |
|---|
JRAbstractSingleClassCompiler(JasperReportsContext jasperReportsContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
compileClasses(File[] sourceFiles,
String classpath)
Compile a set of source files.
|
checkLanguage, compileUnits, generateSourceCode, getSourceFileNameclassCacheKey, getClassFromCache, loadEvaluator, putClassInCachecompileReport, getCompilerClass, getSourceFile, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompileClasspublic JRAbstractSingleClassCompiler(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.