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. ja v a 2 s. co m import java.net.URI; import java.net.URISyntaxException; /** * Child class of {@link com.james.erebus.networking.Retriever} that specifies the URI and filename for match-specific retrieval * @author james * */ public class MatchRetriever extends Retriever{ URI uri; String matchesFilename; public MatchRetriever() { try { uri = new URI("http://teamfrag.net:3001/matches.json"); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); } matchesFilename = "matches.json"; } /** * * @return The filename that holds match information */ public String getMatchesFilename() { return matchesFilename; } /** * * @return The {@link java.net.URI} that leads to the match information on the server */ public URI getURI() { return uri; } }