[jdom-interest] SAXBuilder.build(InputStream)
Thierry GAGNAIRE
thgalist at natapassion.com
Wed Jun 20 08:59:24 PDT 2001
Hello,
I have a question about the build() method
of the SAXBuilder class
(in JDOM-b6 I made in April, the 20)
When calling this method with one argument
InputStream
we can't, after this, read this inputStream again
by an other method
[ for example :
(new LineNumberReader(new InputStreamReader(inputStream,
"ISO8859_1"))).readline()
is always: null
].
The stream seems to be closed by the JDOM's build()
Is it normal ?
How can I work around this ?
[NB: I get first this inputStream through HTTP
URLConnection.connect().getInputStream()
].
Thanks and Regards,
Thierry GAGNAIRE
More information about the jdom-interest
mailing list