public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException, ParseException {
  try {
    XmlPullParser parser=Xml.newPullParser();
    parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES,false);
    parser.setInput(in,null);
    parser.nextTag();
    return readFeed(parser);
  }
  finally {
    in.close();
  }
}

public List < Entry > parse ( InputStream in ) throws XmlPullParserException , IOException , ParseException { try { XmlPullParser parser = Xml . newPullParser ( ) ; parser . setFeature ( XmlPullParser . FEATURE_PROCESS_NAMESPACES , false ) ; parser . setInput ( in , null ) ; parser . nextTag ( ) ; return readFeed ( parser ) ; } finally { in . close ( ) ; } }
parse an atom feed , returning a collection of entry objects .
