Back to project page NYU-BusTracker-Android.
The source code is released under:
Apache License
If you think the Android project NYU-BusTracker-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nyubustracker.helpers; //from w ww . ja va 2 s. c o m import com.nyubustracker.models.Route; import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; public class RouteDownloaderHelper implements DownloaderHelper { public static final String ROUTE_JSON_FILE = "routeJson"; @Override public void parse(JSONObject jsonObject) throws JSONException, IOException { Route.parseJSON(jsonObject); Downloader.cache(ROUTE_JSON_FILE, jsonObject); } }