From 5eff7e331c9e2cebd07ee5c644d39c02b7bc894a Mon Sep 17 00:00:00 2001 From: Kevin Glynn Date: Sat, 30 Apr 2011 09:26:39 +0200 Subject: [PATCH] add some write methods, stolen from Console.xml --- .../NetFramework/System/IO/TextWriter.xml | 103 +++++++++++++++++- 1 file changed, 101 insertions(+), 2 deletions(-) diff --git a/CS2JLibrary/NetFramework/System/IO/TextWriter.xml b/CS2JLibrary/NetFramework/System/IO/TextWriter.xml index 3bad06a..0b5c662 100644 --- a/CS2JLibrary/NetFramework/System/IO/TextWriter.xml +++ b/CS2JLibrary/NetFramework/System/IO/TextWriter.xml @@ -30,7 +30,7 @@ ${this:16}.write(${arg} + System.getProperty("line.separator")) - System.String + System.Object arg @@ -42,13 +42,112 @@ ${this:16}.write(${arg}) - System.String + System.Object arg Write System.Void + + + CS2JNet.System.StringSupport + + System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}), ${arg}) + + + System.String + fmt + + + System.Object + arg + + + Write + System.Void + + + + CS2JNet.System.StringSupport + + System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}), ${arg1}, ${arg2}) + + + System.String + fmt + + + System.Object + arg1 + + + System.Object + arg2 + + + Write + System.Void + + + + System.out.println() + + WriteLine + System.Void + + + + System.out.println(${arg}) + + + System.Object + arg + + + WriteLine + System.Void + + + + CS2JNet.System.StringSupport + + System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\\n", ${arg}) + + + System.String + fmt + + + System.Object + arg + + + WriteLine + System.Void + + + + CS2JNet.System.StringSupport + + System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\\n", ${arg1}, ${arg2}) + + + System.String + fmt + + + System.Object + arg1 + + + System.Object + arg2 + + + WriteLine + System.Void +