java.net.URL mock

This commit is contained in:
Hannes Janetzek
2013-10-09 01:56:10 +02:00
parent dfcb49991c
commit c733c8f7dc
@@ -14,4 +14,8 @@ public class URL {
public URL(String protocol, String hostName, int port, String path) {
mPath = "http://" +hostName +"/" + path;
}
public URL(String url) throws MalformedURLException {
mPath = url;
}
}