JAL-1807 still testing
[jalviewjs.git] / bin / com / stevesoft / pat / wrap / WriterWrap.js
index 9eff73c..4c80649 100644 (file)
@@ -1,41 +1,41 @@
-Clazz.declarePackage ("com.stevesoft.pat.wrap");
-Clazz.load (["com.stevesoft.pat.BasicStringBufferLike"], "com.stevesoft.pat.wrap.WriterWrap", null, function () {
-c$ = Clazz.decorateAsClass (function () {
-this.w = null;
-Clazz.instantialize (this, arguments);
-}, com.stevesoft.pat.wrap, "WriterWrap", null, com.stevesoft.pat.BasicStringBufferLike);
-Clazz.makeConstructor (c$, 
-function (w) {
-this.w = w;
-}, "java.io.Writer");
-Clazz.overrideMethod (c$, "appendC", 
-function (c) {
-try {
-this.w.write ((c).charCodeAt (0));
-} catch (ioe) {
-if (Clazz.exceptionOf (ioe, java.io.IOException)) {
-} else {
-throw ioe;
-}
-}
-}, "~S");
-Clazz.overrideMethod (c$, "append", 
-function (s) {
-try {
-this.w.write (s);
-} catch (ioe) {
-if (Clazz.exceptionOf (ioe, java.io.IOException)) {
-} else {
-throw ioe;
-}
-}
-}, "~S");
-Clazz.overrideMethod (c$, "toStringLike", 
-function () {
-return null;
-});
-Clazz.overrideMethod (c$, "unwrap", 
-function () {
-return this.w;
-});
-});
+Clazz.declarePackage ("com.stevesoft.pat.wrap");\r
+Clazz.load (["com.stevesoft.pat.BasicStringBufferLike"], "com.stevesoft.pat.wrap.WriterWrap", null, function () {\r
+c$ = Clazz.decorateAsClass (function () {\r
+this.w = null;\r
+Clazz.instantialize (this, arguments);\r
+}, com.stevesoft.pat.wrap, "WriterWrap", null, com.stevesoft.pat.BasicStringBufferLike);\r
+Clazz.makeConstructor (c$, \r
+function (w) {\r
+this.w = w;\r
+}, "java.io.Writer");\r
+Clazz.overrideMethod (c$, "appendC", \r
+function (c) {\r
+try {\r
+this.w.write ((c).charCodeAt (0));\r
+} catch (ioe) {\r
+if (Clazz.exceptionOf (ioe, java.io.IOException)) {\r
+} else {\r
+throw ioe;\r
+}\r
+}\r
+}, "~S");\r
+Clazz.overrideMethod (c$, "append", \r
+function (s) {\r
+try {\r
+this.w.write (s);\r
+} catch (ioe) {\r
+if (Clazz.exceptionOf (ioe, java.io.IOException)) {\r
+} else {\r
+throw ioe;\r
+}\r
+}\r
+}, "~S");\r
+Clazz.overrideMethod (c$, "toStringLike", \r
+function () {\r
+return null;\r
+});\r
+Clazz.overrideMethod (c$, "unwrap", \r
+function () {\r
+return this.w;\r
+});\r
+});\r