Package com.google.gdata.data

Examples of com.google.gdata.data.Feed


        // have been modified after the given date.  Without this, when there
        // are no changes, we would still have all of the overhead of fetching
        // the feed's meta data but get zero entries.  In terms of efficiency,
        // we don't care about the feed unless it is going to tell us something
        // new.
        Feed feed = (Feed) service.query(query, Feed.class, ifModifiedSince);
        List entries = feed.getEntries();
        LOGGER.info("Fetched " + entries.size() + " of " +
            feed.getTotalResults() + " total updated entries.");
        Collections.sort(entries, new EntryUpdatedAscendingComparator());
        for (ListIterator ei = entries.listIterator(); ei.hasNext();) {
          Entry entry = (Entry) ei.next();
          documents.add(makeDocument(entry));
        }
View Full Code Here

TOP

Related Classes of com.google.gdata.data.Feed

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.