com.google.api.gbase.client.GoogleBaseFeed

Here are the examples of the java api class com.google.api.gbase.client.GoogleBaseFeed taken from open source projects.

1. RecipeSearch#runQuery()

Project: gdata-java-client
File: RecipeSearch.java
/** Runs the query and fills the result. */
public void runQuery() throws IOException, ServiceException {
    GoogleBaseQuery query = createQuery();
    System.out.println("Searching: " + query.getUrl());
    GoogleBaseFeed feed = service.query(query);
    List<Recipe> result = new ArrayList<Recipe>(maxResults);
    for (GoogleBaseEntry entry : feed.getEntries()) {
        result.add(new Recipe(entry));
    }
    this.recipes = result;
    total = feed.getTotalResults();
}