html: only use path from URL - no cross handling for now
This commit is contained in:
@@ -12,10 +12,11 @@ public class URL {
|
|||||||
String mPath;
|
String mPath;
|
||||||
|
|
||||||
public URL(String protocol, String hostName, int port, String path) {
|
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 {
|
public URL(String path) throws MalformedURLException {
|
||||||
mPath = url;
|
mPath = path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user