Back to project page final_year_frontend.
The source code is released under:
MIT License
If you think the Android project final_year_frontend 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.james.erebus.networking; /*from w w w.jav a 2s .com*/ import java.net.UnknownHostException; import java.util.TimerTask; /** * A {@link java.util.TimerTask} for getting match information from the server * @author james * */ public class GetMatchesTask extends TimerTask{ @Override public void run() { MatchRetriever m = new MatchRetriever(); try { m.forceRetrieveFromServer(m.getURI(), m.getMatchesFilename()); } catch (UnknownHostException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }