html: only use path from URL - no cross handling for now

This commit is contained in:
Hannes Janetzek 2013-07-01 04:16:26 +02:00
parent 7d225aabba
commit 9fbc5b3e8c

View File

@ -12,10 +12,11 @@ public class URL {
String mPath;
public URL(String protocol, String hostName, int port, String path) {
mPath = "http://" +hostName +"/" + path;
//mPath = "http://" +hostName +"/" + path;
mPath = path;
}
public URL(String url) throws MalformedURLException {
mPath = url;
public URL(String path) throws MalformedURLException {
mPath = path;
}
}