examples.nntp
Class ListNewsgroups

java.lang.Object
  extended by examples.nntp.ListNewsgroups

public final class ListNewsgroups
extends java.lang.Object

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
ListNewsgroups()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListNewsgroups

public ListNewsgroups()
Method Detail

main

public static final void main(java.lang.String[] args)


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.