Lines Matching refs:url
36 * URL url = new URL("ftp://mirror.csclub.uwaterloo.ca/index.html");
37 * URLConnection urlConnection = url.openConnection();
84 protected URL url;
152 * @param url
156 protected URLConnection(URL url) {
157 this.url = url;
194 if ((contentType = guessContentTypeFromName(url.getFile())) == null) {
228 if ((contentType = guessContentTypeFromName(url.getFile())) == null) {
657 return url;
671 * Determines the MIME-type of the given resource {@code url} by resolving
675 * @param url
680 public static String guessContentTypeFromName(String url) {
681 return getFileNameMap().getContentTypeFor(url);
1012 return getClass().getName() + ":" + url.toString();