html: only use path from URL - no cross handling for now
This commit is contained in:
parent
7d225aabba
commit
9fbc5b3e8c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user