public DynamicReportBuilder setTemplateFile ( String path , boolean importFields , boolean importVariables , boolean importParameters , boolean importDatasets ) { report . setTemplateFileName ( path ) ; report . setTemplateImportFields ( importFields ) ; report . setTemplateImportParameters ( importParameters ) ; report . setTemplateImportVariables ( importVariables ) ; report . setTemplateImportDatasets ( importDatasets ) ; return this ; }
The full path of a jrxml file or the path in the classpath of a jrxml resource .