Hi!
I had the same problem: My solution was:
1) Generate a ChangSet (XML Document) with the URL(s)
2) write it to a temporary File (java.io.File.createTempFile).
3) Create a UrlResource out of this File
Alternative:
2) write it to a Stream
3) Create a InputStreamResource
As far as i know, the API has no possibility to create a ChangeSet without
generating some xml.
I don't know if it is possible to instantiate ChangeSetImpl Class. I guess
it might work, but ChangeSetImpl can change in future: The ChangeSet
Interface does not have any classes for setting added resources.
Dave
--
View this message in context:
http://n3.nabble.com/KnowledgeAgent-tp422687p423834.html
Sent from the Drools - User mailing list archive at
Nabble.com.