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; /* www . j a va 2 s. c o m*/ import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; public class SegmentDownloaderHelper implements DownloaderHelper { public static final String SEGMENT_JSON_FILE = "segmentJson"; @Override public void parse(JSONObject jsonObject) throws JSONException, IOException { BusManager.parseSegments(jsonObject); Downloader.cache(SEGMENT_JSON_FILE, jsonObject); } }