X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjava%2Fio%2FFilterInputStream.js;h=83893f18462d9017da39fbde4d39f887ec80dfbb;hp=11635738ab97f514fbc52cd31b6471aa6c58039c;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/java/io/FilterInputStream.js b/site/j2s/java/io/FilterInputStream.js index 1163573..83893f1 100644 --- a/site/j2s/java/io/FilterInputStream.js +++ b/site/j2s/java/io/FilterInputStream.js @@ -1,44 +1,44 @@ -Clazz.load (["java.io.InputStream"], "java.io.FilterInputStream", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.$in = null; -Clazz.instantialize (this, arguments); -}, java.io, "FilterInputStream", java.io.InputStream); -Clazz.makeConstructor (c$, -function ($in) { -Clazz.superConstructor (this, java.io.FilterInputStream, []); -this.$in = $in; -}, "java.io.InputStream"); -Clazz.defineMethod (c$, "readByteAsInt", -function () { -return this.$in.readByteAsInt (); -}); -Clazz.defineMethod (c$, "read", -function (b, off, len) { - if (arguments.length == 1) { off = 0; len = b.length; } -return this.$in.read (b, off, len); -}, "~A,~N,~N"); -Clazz.defineMethod (c$, "skip", -function (n) { -return this.$in.skip (n); -}, "~N"); -Clazz.defineMethod (c$, "available", -function () { -return this.$in.available (); -}); -Clazz.defineMethod (c$, "close", -function () { -this.$in.close (); -}); -Clazz.defineMethod (c$, "mark", -function (readlimit) { -this.$in.mark (readlimit); -}, "~N"); -Clazz.defineMethod (c$, "reset", -function () { -this.$in.reset (); -}); -Clazz.defineMethod (c$, "markSupported", -function () { -return this.$in.markSupported (); -}); -}); +Clazz.load (["java.io.InputStream"], "java.io.FilterInputStream", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.$in = null; +Clazz.instantialize (this, arguments); +}, java.io, "FilterInputStream", java.io.InputStream); +Clazz.makeConstructor (c$, +function ($in) { +Clazz.superConstructor (this, java.io.FilterInputStream, []); +this.$in = $in; +}, "java.io.InputStream"); +Clazz.defineMethod (c$, "readByteAsInt", +function () { +return this.$in.readByteAsInt (); +}); +Clazz.defineMethod (c$, "read", +function (b, off, len) { + if (arguments.length == 1) { off = 0; len = b.length; } +return this.$in.read (b, off, len); +}, "~A,~N,~N"); +Clazz.defineMethod (c$, "skip", +function (n) { +return this.$in.skip (n); +}, "~N"); +Clazz.defineMethod (c$, "available", +function () { +return this.$in.available (); +}); +Clazz.defineMethod (c$, "close", +function () { +this.$in.close (); +}); +Clazz.defineMethod (c$, "mark", +function (readlimit) { +this.$in.mark (readlimit); +}, "~N"); +Clazz.defineMethod (c$, "reset", +function () { +this.$in.reset (); +}); +Clazz.defineMethod (c$, "markSupported", +function () { +return this.$in.markSupported (); +}); +});