Getting newsgroup list in real-time
Cedric Hyppolite <[email protected]> Fri, 5 May 2006 10:46:27 +0200
| Newsgroups | gmane.comp.java.classpath.extensions.discuss |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am trying to list all newsgroup available from a server. I found that the API does not allow the listing of groups before the complete list is retrieved. There is no getFolders() method on the NNTPRootFolder that would allow the listing of currently known newgroups. For Mail the listing of folder is not that long, but for NewsGroups it takes a while. I am missing something obvious ? How could I get this information? Adding a ListListener parameter to the list() method, or a getFolders() method which could return the result of the current/last listing. I understand that this would be outside of the JavaMail API, but it would be useful. What do you think? Cedric