public abstract class JRAbstractSingleClassCompiler extends JRAbstractClassCompiler
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
COMPILER_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, getSourceFileName
classCacheKey, getClassFromCache, loadEvaluator, putClassInCache
compileReport, getCompilerClass, getSourceFile, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compileClass
public JRAbstractSingleClassCompiler(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 © 2016. All rights reserved.