Hi guys! >> I want to build this function into my NNTP newsreader and I can't find it in >> the API. Could someone please help me with this or confirm that it isn't >> possible? > Sure, see gnu.inet.nntp.NNTPConnection.article(String)
Thanks for this hint. I read the javadoc for this class, and it really does what I need. But unfortunatly I don't know how to get this. I create the NNTP connection this way (it may be not 100% exact, but I can't look at the sources at the moment...): Session session = Session.getDefaultInstance(properties, null); Store store = session.getStore(); Folder folder = store.getDefaultFolder(); Now my problem is: How do I get a NNTPConnection object at some point in this procedure? Or should I just create a new object when I want to request an article by its message ID? Just creating a NNTPConnection with my login data, retrieving the article and then destroy that NNTPConnection? thanks again Carsten _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 _______________________________________________ Classpath-inetlib mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-inetlib
