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; // ww w . j a v a 2 s. c om import java.net.URI; import java.net.URISyntaxException; /** * Child class of {@link com.james.erebus.networking.Retriever} for retrieving {@link com.james.erebus.core.Tournament tournaments} * @author james * */ public class TournamentRetriever extends Retriever{ String tournamentsFilename; URI uri; public TournamentRetriever() { try { uri = new URI("http://teamfrag.net:3001/tournaments.json"); } catch (URISyntaxException e) { e.printStackTrace(); } tournamentsFilename = "tournaments.json"; } /** * * @return The URI where tournaments are stored on the server */ public URI getURI() { return uri; } /** * * @return The filename where tournaments are stored internally */ public String getTournamentsFilename() { return tournamentsFilename; } }