Lines Matching refs:host
46 String host = url.getHost();
47 if (host == null)
48 host = "";
49 return host;
80 String host = url.getHost();
86 if ((host == null) || host.equals("") ||
87 host.equalsIgnoreCase("localhost") ||
88 host.equals("~")) {
95 path = "\\\\" + host + path;
108 newurl = new URL("ftp", host, file +
134 * Compares the host components of two URLs.
135 * @param u1 the URL of the first host to compare
136 * @param u2 the URL of the second host to compare