How To Pass a JRBeanCollectionDataSource to iReport?
问题 I'm currently trying to use jasper to help me create reports. I have the information and data that I want displayed in this method: private void writeToFile(final List<ScenarioLoadModel> sceneLoadModel) throws Exception { final BufferedWriter bw = new BufferedWriter(new FileWriter("/Uma/nft/result.psv")); for (final ScenarioLoadModel slm : sceneLoadModel) { bw.write(slm.getScenarioId() + PSP + slm.getScenarioId() + PSP + slm.getScenarioConfig().getName() + PSP + slm.getLoad() + PSP + "" + EOL