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