Package gnu.inet.nntp

Examples of gnu.inet.nntp.GroupIterator


        Thread t = new Thread() {
            // get first connection
            NNTPConnection con = usedConnections.get(0);
           
            public void run() {
                GroupIterator git;
                try {
                    git = con.list();
                    while(git.hasNext()) {
                        gnu.inet.nntp.Group g = (gnu.inet.nntp.Group) git.next();
                        Group group = new Group();
                        group.setName(g.getName());
                        group.setFirst(g.getFirst());
                        group.setLast(g.getLast());
                        group.setLastUpdate(new Date());
View Full Code Here

TOP

Related Classes of gnu.inet.nntp.GroupIterator

Copyright © 2018 www.massapicom. 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.