Lines Matching defs:location

41  * encapsulate not only the location (URL) but also the certificate chains
42 * that were used to verify signed code originating from that location.
53 * The code location.
57 private URL location;
77 * location and set of certificates.
79 * @param url the location (URL).
85 this.location = url;
95 * location and set of code signers.
97 * @param url the location (URL).
104 this.location = url;
119 if (location != null)
120 return location.hashCode();
147 if (location == null) {
148 // if location is null, then cs.location must be null as well
149 if (cs.location != null) return false;
151 // if location is not null, then it must equal cs.location
152 if (!location.equals(cs.location)) return false;
160 * Returns the location associated with this CodeSource.
162 * @return the location (URL).
167 return this.location;
242 * <li> If this object's location (getLocation()) is not null, then the
243 * following checks are made against this object's location and
246 * <li> <i>codesource</i>'s location must not be null.
248 * <li> If this object's location
249 * equals <i>codesource</i>'s location, then return true.
283 * the codesource with the location "http://java.sun.com/classes/foo.jar"
292 * Note that if this CodeSource has a null location and a null
368 * Returns true if two CodeSource's have the "same" location.
374 if (location == null)
377 if ((that == null) || (that.location == null))
380 if (location.equals(that.location))
383 if (!location.getProtocol().equalsIgnoreCase(that.location.getProtocol()))
386 if (location.getPort() != -1) {
387 if (location.getPort() != that.location.getPort())
391 if (location.getFile().endsWith("/-")) {
396 String thisPath = location.getFile().substring(0,
397 location.getFile().length()-1);
398 if (!that.location.getFile().startsWith(thisPath))
400 } else if (location.getFile().endsWith("/*")) {
405 int last = that.location.getFile().lastIndexOf('/');
408 String thisPath = location.getFile().substring(0,
409 location.getFile().length()-1);
410 String thatPath = that.location.getFile().substring(0, last+1);
416 if ((!that.location.getFile().equals(location.getFile()))
417 && (!that.location.getFile().equals(location.getFile()+"/"))) {
422 if (location.getRef() != null) {
423 if (!location.getRef().equals(that.location.getRef()))
427 String thisHost = location.getHost();
428 String thatHost = that.location.getHost();
461 sb.append(this.location);
496 oos.defaultWriteObject(); // location
533 ois.defaultReadObject(); // location