Package com.google.gdata.data.health

Examples of com.google.gdata.data.health.RegisterFeed


   */
  public void showNoticesForId(String profileId)
      throws IOException, ServiceException {

    out.println("Notices for profile id: " + profileId);
    RegisterFeed feed = service.getFeed(
        new URL(REGISTER_FEED_PATH + "ui/" + profileId), RegisterFeed.class);

    if (feed.getEntries().size() == 0) {
      out.println("There are no notices for this profile");
    }

    int noticeIndex = 1;
    for (RegisterEntry entry : feed.getEntries()) {
      out.println(noticeIndex + ")" + entry.getTitle().getPlainText());
      noticeIndex++;
    }
  }
View Full Code Here

TOP

Related Classes of com.google.gdata.data.health.RegisterFeed

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.