How parse a Stored inputStream?
Globals:
Dim XMLTopics as inputStream
I have a sub:
Sub ParseTopics (parsePar as InputStream)
end Sub
If parsePar is the result of a jobdone it works:
ParseTopics (Job.GetInputStream) ---> Ok.
But if at another time I try:
ParseTopics (XMLtopics) ---> It don´t works.
Error: java.io.IOException: BufferedInputStream is closed
Thank you for your help.
Globals:
Dim XMLTopics as inputStream
I have a sub:
Sub ParseTopics (parsePar as InputStream)
Parser.parse (ParserPar, "MyParser")
If XMLtopics.IsInitialized = False Then
XMLtopics = parsePar
end If
If XMLtopics.IsInitialized = False Then
XMLtopics = parsePar
end If
end Sub
If parsePar is the result of a jobdone it works:
ParseTopics (Job.GetInputStream) ---> Ok.
But if at another time I try:
ParseTopics (XMLtopics) ---> It don´t works.
Error: java.io.IOException: BufferedInputStream is closed
Thank you for your help.