1 Clazz.declarePackage ("java.net");
2 c$ = Clazz.decorateAsClass (function () {
6 Clazz.instantialize (this, arguments);
8 Clazz.makeConstructor (c$,
10 var ind = file.indexOf ('#');
11 this.ref = ind < 0 ? null : file.substring (ind + 1);
12 file = ind < 0 ? file : file.substring (0, ind);
13 var q = file.lastIndexOf ('?');
15 this.query = file.substring (q + 1);
16 this.path = file.substring (0, q);
20 Clazz.defineMethod (c$, "getPath",
24 Clazz.defineMethod (c$, "getQuery",
28 Clazz.defineMethod (c$, "getRef",