fi.foyt.foursquare.api
类 NotificationsParser
java.lang.Object
fi.foyt.foursquare.api.NotificationsParser
public class NotificationsParser
- extends Object
Class responsible of parsing notifications
- 作者:
- Antti Leppä
|
方法摘要 |
static List<Notification<?>> |
parseNotifications(org.json.JSONArray notifications,
boolean skipNonExistingFields)
Static method that parses JSON array into list of notifications |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parseNotifications
public static List<Notification<?>> parseNotifications(org.json.JSONArray notifications,
boolean skipNonExistingFields)
throws FoursquareApiException
- Static method that parses JSON array into list of notifications
- 参数:
notifications - JSON ArrayskipNonExistingFields - whether parser should ignore non-existing fields
- 返回:
- list of notifications
- 抛出:
FoursquareApiException - when something unexpected happens
Copyright © 2013 Foyt. All Rights Reserved.