|
Hi,
I’m deploying a Jess source file in a jar file. The Rete.batch method takes a String filename argument. However, in this case I don’t have access to the file system. I am reading the data from within the jar using the ClassLoader.getResourceAsStream function, which returns an InputStream. Do you have a suggestion how I can read the program rules contained in the .clp resource using an InputStream as input?
Steve Solomon USC Institute for Creative Technologies |
- JESS: Deploying a .clp file in a jar Steve Solomon
