Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / io / Reader.js
index 7a2c1d5..6468aca 100644 (file)
@@ -1,45 +1,45 @@
-Clazz.load (["java.io.Closeable"], "java.io.Reader", ["java.io.IOException", "java.lang.IllegalArgumentException", "$.NullPointerException"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.lock = null;\r
-this.skipBuffer = null;\r
-Clazz.instantialize (this, arguments);\r
-}, java.io, "Reader", null, java.io.Closeable);\r
-Clazz.makeConstructor (c$, \r
-function (lock) {\r
-if (lock == null) {\r
-throw  new NullPointerException ();\r
-}this.lock = lock;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "skip", \r
-function (n) {\r
-if (n < 0) throw  new IllegalArgumentException ("skip value is negative");\r
-var nn = Math.min (n, 8192);\r
-{\r
-if ((this.skipBuffer == null) || (this.skipBuffer.length < nn)) this.skipBuffer =  Clazz.newCharArray (nn, '\0');\r
-var r = n;\r
-while (r > 0) {\r
-var nc = this.read (this.skipBuffer, 0, Math.min (r, nn));\r
-if (nc == -1) break;\r
-r -= nc;\r
-}\r
-return n - r;\r
-}}, "~N");\r
-Clazz.defineMethod (c$, "ready", \r
-function () {\r
-return false;\r
-});\r
-Clazz.defineMethod (c$, "markSupported", \r
-function () {\r
-return false;\r
-});\r
-Clazz.defineMethod (c$, "mark", \r
-function (readAheadLimit) {\r
-throw  new java.io.IOException ("mark() not supported");\r
-}, "~N");\r
-Clazz.defineMethod (c$, "reset", \r
-function () {\r
-throw  new java.io.IOException ("reset() not supported");\r
-});\r
-Clazz.defineStatics (c$,\r
-"MAX_SKIP_BUFFE_SIZE", 8192);\r
-});\r
+Clazz.load (["java.io.Closeable"], "java.io.Reader", ["java.io.IOException", "java.lang.IllegalArgumentException", "$.NullPointerException"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.lock = null;
+this.skipBuffer = null;
+Clazz.instantialize (this, arguments);
+}, java.io, "Reader", null, java.io.Closeable);
+Clazz.makeConstructor (c$, 
+function (lock) {
+if (lock == null) {
+throw  new NullPointerException ();
+}this.lock = lock;
+}, "~O");
+Clazz.defineMethod (c$, "skip", 
+function (n) {
+if (n < 0) throw  new IllegalArgumentException ("skip value is negative");
+var nn = Math.min (n, 8192);
+{
+if ((this.skipBuffer == null) || (this.skipBuffer.length < nn)) this.skipBuffer =  Clazz.newCharArray (nn, '\0');
+var r = n;
+while (r > 0) {
+var nc = this.read (this.skipBuffer, 0, Math.min (r, nn));
+if (nc == -1) break;
+r -= nc;
+}
+return n - r;
+}}, "~N");
+Clazz.defineMethod (c$, "ready", 
+function () {
+return false;
+});
+Clazz.defineMethod (c$, "markSupported", 
+function () {
+return false;
+});
+Clazz.defineMethod (c$, "mark", 
+function (readAheadLimit) {
+throw  new java.io.IOException ("mark() not supported");
+}, "~N");
+Clazz.defineMethod (c$, "reset", 
+function () {
+throw  new java.io.IOException ("reset() not supported");
+});
+Clazz.defineStatics (c$,
+"MAX_SKIP_BUFFE_SIZE", 8192);
+});