1 Clazz.load (["java.io.InputStream"], "java.io.FilterInputStream", null, function () {
\r
2 c$ = Clazz.decorateAsClass (function () {
\r
4 Clazz.instantialize (this, arguments);
\r
5 }, java.io, "FilterInputStream", java.io.InputStream);
\r
6 Clazz.makeConstructor (c$,
\r
8 Clazz.superConstructor (this, java.io.FilterInputStream, []);
\r
10 }, "java.io.InputStream");
\r
11 Clazz.defineMethod (c$, "readByteAsInt",
\r
13 return this.$in.readByteAsInt ();
\r
15 Clazz.defineMethod (c$, "read",
\r
16 function (b, off, len) {
\r
17 if (arguments.length == 1) { off = 0; len = b.length; }
\r
18 return this.$in.read (b, off, len);
\r
20 Clazz.defineMethod (c$, "skip",
\r
22 return this.$in.skip (n);
\r
24 Clazz.defineMethod (c$, "available",
\r
26 return this.$in.available ();
\r
28 Clazz.defineMethod (c$, "close",
\r
32 Clazz.defineMethod (c$, "mark",
\r
33 function (readlimit) {
\r
34 this.$in.mark (readlimit);
\r
36 Clazz.defineMethod (c$, "reset",
\r
40 Clazz.defineMethod (c$, "markSupported",
\r
42 return this.$in.markSupported ();
\r