Files and Streams
Posted on 2004-08-09
A method used AnyMethod(java.io.File , java.io.File ) signature
I have InputStream and string of the data in the file as I create them on the fly and there is no "file" in the server.
How do I pass the InputStream/string to the method with the above signature.
I am using FOP and it uses xml and fo .
To emberd itin a servelt and convert to PDF it uses
XSLTInputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);
where the xmlFile, xslFile are java.io.File, I have the XML and XSL as InputStreams / strings in my servers memory as they are generated dynamically, how to pass them