Package gnu.inet.nntp

Examples of gnu.inet.nntp.NNTPConnection.listGroup()


            NNTPConnection con = usedConnections.get(0);
            Stack<Integer> articlesIds = new Stack<Integer>();
           
//            public void run() {
                try {
                    ArticleNumberIterator ait = con.listGroup(g.getName());
                    while(ait.hasNext()) {
                        Integer id = (Integer) ait.next();
                        System.out.println("Got article ID '" + id + "'");
                        //TODO check if ArticleResponse, int articleID or Article is returned
                        articlesIds.push(id);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.