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