Class ListNewsgroups
java.lang.Object
org.apache.commons.net.examples.nntp.ListNewsgroups
This is a trivial example using the NNTP package to approximate the Unix newsgroups command. It merely connects to the specified news server and issues
fetches the list of newsgroups stored by the server. On servers that store a lot of newsgroups, this command can take a very long time (listing upwards of
30,000 groups).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ListNewsgroups
public ListNewsgroups()
-
-
Method Details
-
main
-