[Net-NNTP] Why using just Reader?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Net-NNTP] Why using just Reader?

Hi, I am reviewing Net-NNTP API and NNTPClient class always offers a
Reader as interface to read messages.

Problem is that I want to parse the message with a MIME parser and all
parser I have found (javaMail and mime4j) requiere an InputStream
instead of a Reader. And as I could see here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4094886 , since 1997
people are asking for a way to convert it and there is no answer from Sun.

Any comment? Any solution? Should NNTPClient offer InputStream interface

Thanks in advance,


To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]