Hello,

Iam using a FileResourceStream to download a file. This needs an File, which I 
create on the fly like this:

tempFile = File.createTempFile("SLA", ".xls");

InputStream data = new 
ByteArrayInputStream(ConsoleDataHandlerImpl.getInstance().getReportAsByteStream(beginDate,endDate));
Files.writeTo(tempFile, data);

It works fine. But the problem is that it save the tempfile in my tmp folder. 
Is there a RessourceStream in Wicket which can handle a byte array so that I 
don't need a tempfile?


Mit freundlichen Grüßen
Christoph Manig



Reply via email to