Methods Summary |
---|
public java.net.URLConnection | openConnection(java.net.URL url)Returns a connection to the a file pointed by this URL in
the file system
return new FileURLConnection(url);
|
public java.net.URLConnection | openConnection(java.net.URL url, java.net.Proxy proxy)The behaviour of this method is the same as openConnection(URL).
proxy is not used in FileURLConnection.
if (null == url || null == proxy) {
// K034b=url and proxy can not be null
throw new IllegalArgumentException(Msg.getString("K034b")); //$NON-NLS-1$
}
return new FileURLConnection(url);
|
protected void | parseURL(java.net.URL u, java.lang.String str, int start, int end)Parse the string str into URL u which
already have the context properties. The string generally have the
following format: /c:/windows/win.ini .
if (end < start) {
return;
}
String parseString = ""; //$NON-NLS-1$
if (start < end) {
parseString = str.substring(start, end).replace('\\", '/");
}
super.parseURL(u, parseString, 0, parseString.length());
|