mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Remove (old) NetTranslations. Move RusticiSoftware namespace to CS2JNet
This commit is contained in:
parent
861ffa6398
commit
4341ea8484
@ -19,7 +19,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
<Import>CS2JNet.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message})</Java>
|
||||
<Params>
|
||||
@ -45,7 +45,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
<Import>CS2JNet.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message}, ${inner})</Java>
|
||||
<Params>
|
||||
@ -61,7 +61,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
<Import>CS2JNet.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message}, ${paramName})</Java>
|
||||
<Params>
|
||||
@ -77,7 +77,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
<Import>CS2JNet.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message}, ${paramName}, ${inner})</Java>
|
||||
<Params>
|
||||
|
@ -110,7 +110,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Collections.ArrayListSupport</Import>
|
||||
<Import>CS2JNet.System.Collections.ArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Java>ArrayListSupport.toArray(${this}, new ${TYPEOF_expr_TYPE}[0])</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Collections.ArrayListSupport</Import>
|
||||
<Import>CS2JNet.System.Collections.ArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Java>ArrayListSupport</Java>
|
||||
<Name>System.Collections.Generic.List</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Collections.ArrayListSupport</Import>
|
||||
<Import>CS2JNet.System.Collections.ArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Java>ArrayListSupport</Java>
|
||||
<Name>System.Collections.ObjectModel.Collection</Name>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Configuration.ConfigurationManager</Import>
|
||||
<Import>CS2JNet.System.Configuration.ConfigurationManager</Import>
|
||||
</Imports>
|
||||
<Java>ConfigurationManager.getAppSettings()</Java>
|
||||
<Type>System.Collections.Specialized.NameValueCollection</Type>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Configuration.ConfigurationSettings</Import>
|
||||
<Import>CS2JNet.System.Configuration.ConfigurationSettings</Import>
|
||||
</Imports>
|
||||
<Java>ConfigurationSettings.getAppSettings()</Java>
|
||||
<Type>System.Collections.Specialized.NameValueCollection</Type>
|
||||
|
@ -20,7 +20,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}), ${arg})</Java>
|
||||
<Params>
|
||||
@ -38,7 +38,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}), ${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
@ -79,7 +79,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}) + "\\n", ${arg})</Java>
|
||||
<Params>
|
||||
@ -97,7 +97,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}) + "\\n", ${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
|
@ -108,7 +108,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.parse(${value})</Java>
|
||||
<Params>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.parse(${s})</Java>
|
||||
<Params>
|
||||
@ -26,7 +26,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.parse(${s}, ${provider})</Java>
|
||||
<Params>
|
||||
@ -44,7 +44,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.ToString(${this}, ${format})</Java>
|
||||
<Params>
|
||||
@ -58,7 +58,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.ToString(${this}, ${format}, ${provider})</Java>
|
||||
<Params>
|
||||
@ -122,7 +122,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTZ</Import>
|
||||
<Import>CS2JNet.System.DateTZ</Import>
|
||||
<Import>java.util.TimeZone</Import>
|
||||
</Imports>
|
||||
<Java>(new DateTZ(${this:16}.getTime(), TimeZone.getTimeZone("UTC")))</Java>
|
||||
@ -132,7 +132,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.MINUTE,${amount})</Java>
|
||||
@ -147,7 +147,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.HOUR,${amount})</Java>
|
||||
@ -162,7 +162,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.MILLISECOND,${amount})</Java>
|
||||
@ -177,7 +177,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.SECOND,${amount})</Java>
|
||||
@ -192,7 +192,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.DAY_OF_YEAR,${amount})</Java>
|
||||
@ -207,7 +207,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.MONTH,${amount})</Java>
|
||||
@ -222,7 +222,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>(new TimeSpan(Math.abs(${this:16}.getTime() - ${date2}.getTime())))</Java>
|
||||
<Params>
|
||||
|
@ -55,7 +55,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.parse(${dStr}, ${style}, ${provider})</Java>
|
||||
<Params>
|
||||
@ -77,7 +77,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.ToString(${this}, ${format})</Java>
|
||||
<Params>
|
||||
@ -98,7 +98,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DoubleSupport</Import>
|
||||
<Import>CS2JNet.System.DoubleSupport</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.ToString(${this}, ${provider})</Java>
|
||||
<Params>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.EnumSupport</Import>
|
||||
<Import>CS2JNet.System.EnumSupport</Import>
|
||||
</Imports>
|
||||
<Java>EnumSupport.isDefined(${enumType}, ${value})</Java>
|
||||
<Params>
|
||||
@ -28,7 +28,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.EnumSupport</Import>
|
||||
<Import>CS2JNet.System.EnumSupport</Import>
|
||||
</Imports>
|
||||
<Java>EnumSupport.toString(${this}, ${modifier})</Java>
|
||||
<Params>
|
||||
|
@ -19,7 +19,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ExceptionSupport</Import>
|
||||
<Import>CS2JNet.System.ExceptionSupport</Import>
|
||||
</Imports>
|
||||
<Java>ExceptionSupport.getSource(${this})</Java>
|
||||
<Type>System.String</Type>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.util.LocaleSupport</Import>
|
||||
<Import>CS2JNet.JavaSupport.util.LocaleSupport</Import>
|
||||
</Imports>
|
||||
<Java>LocaleSupport.INVARIANT</Java>
|
||||
<Type>System.Globalization.CultureInfo</Type>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.util.LocaleSupport</Import>
|
||||
<Import>CS2JNet.JavaSupport.util.LocaleSupport</Import>
|
||||
</Imports>
|
||||
<Java>LocaleSupport.INVARIANT</Java>
|
||||
<Type>System.Globalization.NumberFormatInfo</Type>
|
||||
@ -28,7 +28,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.util.LocaleSupport</Import>
|
||||
<Import>CS2JNet.JavaSupport.util.LocaleSupport</Import>
|
||||
</Imports>
|
||||
<Java>LocaleSupport.INVARIANT</Java>
|
||||
<Params />
|
||||
|
@ -9,7 +9,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Globalization.NumberStyles</Import>
|
||||
<Import>CS2JNet.System.Globalization.NumberStyles</Import>
|
||||
</Imports>
|
||||
<Java>NumberStyles.getInteger()</Java>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
@ -19,7 +19,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Globalization.NumberStyles</Import>
|
||||
<Import>CS2JNet.System.Globalization.NumberStyles</Import>
|
||||
</Imports>
|
||||
<Java>NumberStyles.getHexNumber()</Java>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
@ -29,7 +29,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Globalization.NumberStyles</Import>
|
||||
<Import>CS2JNet.System.Globalization.NumberStyles</Import>
|
||||
</Imports>
|
||||
<Java>NumberStyles.getAny()</Java>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IDisposable</Import>
|
||||
<Import>CS2JNet.System.IDisposable</Import>
|
||||
</Imports>
|
||||
<Java>IDisposable</Java>
|
||||
<Name>System.IDisposable</Name>
|
||||
|
@ -38,7 +38,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
<Import>CS2JNet.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.delete(${path}, false)</Java>
|
||||
<Params>
|
||||
@ -52,7 +52,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
<Import>CS2JNet.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.delete(${path}, ${recursive})</Java>
|
||||
<Params>
|
||||
@ -102,7 +102,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
<Import>CS2JNet.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.getFiles(${path}, ${searchpattern})</Java>
|
||||
<Params>
|
||||
@ -120,7 +120,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
<Import>CS2JNet.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.getDirectories(${path})</Java>
|
||||
<Params>
|
||||
@ -134,7 +134,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
<Import>CS2JNet.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.getFiles(${path})</Java>
|
||||
<Params>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.io.*</Import>
|
||||
<Import>CS2JNet.JavaSupport.io.*</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.listFiles(new FilterOnlyFiles())</Java>
|
||||
<Params />
|
||||
@ -21,7 +21,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.io.*</Import>
|
||||
<Import>CS2JNet.JavaSupport.io.*</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.listFiles(new FilterOnlyDirs())</Java>
|
||||
<Params />
|
||||
|
@ -81,7 +81,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.FileSupport</Import>
|
||||
<Import>CS2JNet.System.IO.FileSupport</Import>
|
||||
</Imports>
|
||||
<Java>FileSupport.copyFile(${sourceFileName}, ${destFileName}, true)</Java>
|
||||
<Params>
|
||||
@ -99,7 +99,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.FileSupport</Import>
|
||||
<Import>CS2JNet.System.IO.FileSupport</Import>
|
||||
</Imports>
|
||||
<Java>FileSupport.copyFile(${sourceFileName}, ${destFileName}, ${overwrite})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.FileNotFoundException</Import>
|
||||
<Import>CS2JNet.System.IO.FileNotFoundException</Import>
|
||||
</Imports>
|
||||
<Java>FileNotFoundException</Java>
|
||||
<Name>System.IO.FileNotFoundException</Name>
|
||||
@ -16,7 +16,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.FileNotFoundException</Import>
|
||||
<Import>CS2JNet.System.IO.FileNotFoundException</Import>
|
||||
</Imports>
|
||||
<Java>new FileNotFoundException(${message})</Java>
|
||||
<Params>
|
||||
@ -28,7 +28,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.FileNotFoundException</Import>
|
||||
<Import>CS2JNet.System.IO.FileNotFoundException</Import>
|
||||
</Imports>
|
||||
<Java>new FileNotFoundException(${message}, ${fileName})</Java>
|
||||
<Params>
|
||||
|
@ -50,7 +50,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.PathSupport</Import>
|
||||
<Import>CS2JNet.System.IO.PathSupport</Import>
|
||||
</Imports>
|
||||
<Java>PathSupport.getExtension(${path})</Java>
|
||||
<Params>
|
||||
|
@ -61,7 +61,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.Unsupported</Import>
|
||||
<Import>CS2JNet.JavaSupport.Unsupported</Import>
|
||||
</Imports>
|
||||
<Java>Unsupported.throwUnsupported("${this:16}.Position")</Java>
|
||||
<Type>System.Int64</Type>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.StreamReader</Import>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>java.io.*</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(new FileInputStream(${path}))))</Java>
|
||||
@ -29,7 +29,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.StreamReader</Import>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>java.io.*</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(new FileInputStream(${path}), ${encoding})))</Java>
|
||||
@ -46,7 +46,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.StreamReader</Import>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>java.io.*</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(${stream}), ${encoding}))</Java>
|
||||
@ -63,8 +63,8 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.StreamReader</Import>
|
||||
<Import>RusticiSoftware.System.Text.EncodingSupport</Import>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
||||
<Import>java.io.*</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(${stream}), new EncodingSupport("UTF-8")))</Java>
|
||||
|
@ -26,7 +26,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.TextReaderSupport</Import>
|
||||
<Import>CS2JNet.System.IO.TextReaderSupport</Import>
|
||||
</Imports>
|
||||
<Java>TextReaderSupport.readToEnd(${this})</Java>
|
||||
<Params />
|
||||
|
@ -44,7 +44,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
</Imports>
|
||||
<Java>IntegerSupport.parse(${str}, ${style})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.InvalidCastException</Import>
|
||||
<Import>CS2JNet.System.InvalidCastException</Import>
|
||||
</Imports>
|
||||
<Java>InvalidCastException</Java>
|
||||
<Name>System.InvalidCastException</Name>
|
||||
@ -16,14 +16,14 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.InvalidCastException</Import>
|
||||
<Import>CS2JNet.System.InvalidCastException</Import>
|
||||
</Imports>
|
||||
<Java>new InvalidCastException()</Java>
|
||||
<Params />
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.InvalidCastException</Import>
|
||||
<Import>CS2JNet.System.InvalidCastException</Import>
|
||||
</Imports>
|
||||
<Java>new InvalidCastException(${message})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Net.CookieContainer</Import>
|
||||
<Import>CS2JNet.System.Net.CookieContainer</Import>
|
||||
</Imports>
|
||||
<Java>CookieContainer</Java>
|
||||
<Name>System.Net.CookieContainer</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Net.Mail.MailMessage</Import>
|
||||
<Import>CS2JNet.System.Net.Mail.MailMessage</Import>
|
||||
</Imports>
|
||||
<Java>MailMessage</Java>
|
||||
<Name>System.Net.Mail.MailMessage</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.NotImplementedException</Import>
|
||||
<Import>CS2JNet.System.NotImplementedException</Import>
|
||||
</Imports>
|
||||
<Java>NotImplementedException</Java>
|
||||
<Name>System.NotImplementedException</Name>
|
||||
@ -16,14 +16,14 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.NotImplementedException</Import>
|
||||
<Import>CS2JNet.System.NotImplementedException</Import>
|
||||
</Imports>
|
||||
<Java>new NotImplementedException()</Java>
|
||||
<Params />
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.NotImplementedException</Import>
|
||||
<Import>CS2JNet.System.NotImplementedException</Import>
|
||||
</Imports>
|
||||
<Java>new NotImplementedException(${message})</Java>
|
||||
<Params>
|
||||
@ -35,7 +35,7 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.NotImplementedException</Import>
|
||||
<Import>CS2JNet.System.NotImplementedException</Import>
|
||||
</Imports>
|
||||
<Java>new NotImplementedException(${message}, ${inner})</Java>
|
||||
<Params>
|
||||
|
@ -24,7 +24,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.NumberSupport</Import>
|
||||
<Import>CS2JNet.System.NumberSupport</Import>
|
||||
</Imports>
|
||||
<Java>NumberSupport.format(${this}, ${format})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Reflection.Assembly</Import>
|
||||
<Import>CS2JNet.System.Reflection.Assembly</Import>
|
||||
</Imports>
|
||||
<Java>Assembly</Java>
|
||||
<Name>System.Reflection.Assembly</Name>
|
||||
@ -10,7 +10,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Reflection.Assembly</Import>
|
||||
<Import>CS2JNet.System.Reflection.Assembly</Import>
|
||||
</Imports>
|
||||
<Java>new Assembly(${assemblyString})</Java>
|
||||
<Params>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Reflection.BindingFlags</Import>
|
||||
<Import>CS2JNet.System.Reflection.BindingFlags</Import>
|
||||
</Imports>
|
||||
<Java>BindingFlags.getInstance()</Java>
|
||||
<Type>System.Reflection.BindingFlags</Type>
|
||||
@ -19,7 +19,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Reflection.BindingFlags</Import>
|
||||
<Import>CS2JNet.System.Reflection.BindingFlags</Import>
|
||||
</Imports>
|
||||
<Java>BindingFlags.getPublic()</Java>
|
||||
<Type>System.Reflection.BindingFlags</Type>
|
||||
@ -29,7 +29,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Reflection.BindingFlags</Import>
|
||||
<Import>CS2JNet.System.Reflection.BindingFlags</Import>
|
||||
</Imports>
|
||||
<Java>BindingFlags.getFlattenHierarchy()</Java>
|
||||
<Type>System.Reflection.BindingFlags</Type>
|
||||
@ -39,7 +39,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Reflection.BindingFlags</Import>
|
||||
<Import>CS2JNet.System.Reflection.BindingFlags</Import>
|
||||
</Imports>
|
||||
<Java>BindingFlags.getStatic()</Java>
|
||||
<Type>System.Reflection.BindingFlags</Type>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.reflect.FieldSupport</Import>
|
||||
<Import>CS2JNet.JavaSupport.reflect.FieldSupport</Import>
|
||||
</Imports>
|
||||
<Java>FieldSupport.getAnnotations(${this}, ${attributeType}, ${inherits})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Resources.ResourceManager</Import>
|
||||
<Import>CS2JNet.System.Resources.ResourceManager</Import>
|
||||
</Imports>
|
||||
<Java>ResourceManager</Java>
|
||||
<Name>System.Resources.ResourceManager</Name>
|
||||
@ -27,7 +27,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Resources.ResourceManager</Import>
|
||||
<Import>CS2JNet.System.Resources.ResourceManager</Import>
|
||||
</Imports>
|
||||
<Java>new ResourceManager(${baseName}, ${assembly)) /* ignored parameters */ </Java>
|
||||
<Params>
|
||||
|
@ -14,7 +14,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Compare(${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
@ -32,7 +32,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Compare(${arg1}, ${arg2}, ${isCaseSensitive})</Java>
|
||||
<Params>
|
||||
@ -150,7 +150,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.isNullOrEmpty(${arg})</Java>
|
||||
<Params>
|
||||
@ -164,7 +164,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.lastIndexOfAny(${this},${anyOf})</Java>
|
||||
<Params>
|
||||
@ -234,7 +234,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.PadLeft(${this}, ${totalWidth})</Java>
|
||||
<Params>
|
||||
@ -248,7 +248,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.PadLeft(${this}, ${totalWidth}, ${paddingChar})</Java>
|
||||
<Params>
|
||||
@ -266,7 +266,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.PadRight(${this}, ${totalWidth})</Java>
|
||||
<Params>
|
||||
@ -280,7 +280,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.PadRight(${this}, ${totalWidth}, ${paddingChar})</Java>
|
||||
<Params>
|
||||
@ -330,7 +330,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Split(${this}, ${ch})</Java>
|
||||
<Params>
|
||||
@ -344,7 +344,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Split(${this}, ${ch1}, ${ch2})</Java>
|
||||
<Params>
|
||||
@ -362,7 +362,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.split(StringSupport.charAltsToRegex(${cs}))</Java>
|
||||
<Params>
|
||||
@ -376,7 +376,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.split(StringSupport.charAltsToRegex(${cs}), ${count})</Java>
|
||||
<Params>
|
||||
@ -394,7 +394,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Split(${this}, ${cs}, ${options})</Java>
|
||||
<Params>
|
||||
@ -503,7 +503,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Trim(${this})</Java>
|
||||
<Params />
|
||||
@ -512,7 +512,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Trim(${this}, ${trimChars})</Java>
|
||||
<Params>
|
||||
@ -526,7 +526,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Trim(${this}, new char[] {${trimChar1}})</Java>
|
||||
<Params>
|
||||
@ -540,7 +540,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.Trim(${this}, new char[] {${trimChar1}, ${trimChar2}})</Java>
|
||||
<Params>
|
||||
@ -558,7 +558,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimStart(${this}, null)</Java>
|
||||
<Params />
|
||||
@ -567,7 +567,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimStart(${this}, ${trimChars})</Java>
|
||||
<Params>
|
||||
@ -581,7 +581,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimStart(${this}, new char[] {${trimChar1}})</Java>
|
||||
<Params>
|
||||
@ -595,7 +595,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimStart(${this}, new char[] {${trimChar1}, ${trimChar2}})</Java>
|
||||
<Params>
|
||||
@ -613,7 +613,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimEnd(${this}, null)</Java>
|
||||
<Params />
|
||||
@ -622,7 +622,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimEnd(${this}, ${trimChars})</Java>
|
||||
<Params>
|
||||
@ -636,7 +636,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimEnd(${this}, new char[] {${trimChar1}})</Java>
|
||||
<Params>
|
||||
@ -650,7 +650,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.TrimEnd(${this}, new char[] {${trimChar1}, ${trimChar2}})</Java>
|
||||
<Params>
|
||||
@ -702,7 +702,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSupport</Import>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringSupport.mkString(${char}, ${length})</Java>
|
||||
<Params>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSplitOptions</Import>
|
||||
<Import>CS2JNet.System.StringSplitOptions</Import>
|
||||
</Imports>
|
||||
<Java>StringSplitOptions.None</Java>
|
||||
<Type>System.StringSplitOptions</Type>
|
||||
@ -19,7 +19,7 @@
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.StringSplitOptions</Import>
|
||||
<Import>CS2JNet.System.StringSplitOptions</Import>
|
||||
</Imports>
|
||||
<Java>StringSplitOptions.RemoveEmptyEntries</Java>
|
||||
<Type>System.StringSplitOptions</Type>
|
||||
|
@ -22,7 +22,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Text.EncodingSupport</Import>
|
||||
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
||||
</Imports>
|
||||
<Java>(new EncodingSupport("UTF-8"))</Java>
|
||||
<Type>System.Text.Encoding</Type>
|
||||
|
@ -34,7 +34,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Text.StringBuilderSupport</Import>
|
||||
<Import>CS2JNet.System.Text.StringBuilderSupport</Import>
|
||||
</Imports>
|
||||
<Java>StringBuilderSupport.ensureCapacity(${this}, ${arg})</Java>
|
||||
<Params>
|
||||
@ -114,7 +114,7 @@
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Text.StringBuilderSupport</Import>
|
||||
<Import>CS2JNet.System.Text.StringBuilderSupport</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.length()</Java>
|
||||
<Type>System.Int32</Type>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TimeSpan</Import>
|
||||
<Import>CS2JNet.System.TimeSpan</Import>
|
||||
</Imports>
|
||||
<Java>TimeSpan</Java>
|
||||
<Name>System.TimeSpan</Name>
|
||||
@ -12,7 +12,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TimeSpan</Import>
|
||||
<Import>CS2JNet.System.TimeSpan</Import>
|
||||
</Imports>
|
||||
<Java>TimeSpan.parse(${s})</Java>
|
||||
<Params>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TypeSupport</Import>
|
||||
<Import>CS2JNet.System.TypeSupport</Import>
|
||||
</Imports>
|
||||
<Java>TypeSupport.GetFields(${this})</Java>
|
||||
<Params />
|
||||
@ -19,7 +19,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TypeSupport</Import>
|
||||
<Import>CS2JNet.System.TypeSupport</Import>
|
||||
</Imports>
|
||||
<Java>TypeSupport.GetFields(${this},${flags})</Java>
|
||||
<Params>
|
||||
@ -33,7 +33,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TypeSupport</Import>
|
||||
<Import>CS2JNet.System.TypeSupport</Import>
|
||||
</Imports>
|
||||
<Java>TypeSupport.GetField(${this},${name})</Java>
|
||||
<Params>
|
||||
@ -47,7 +47,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TypeSupport</Import>
|
||||
<Import>CS2JNet.System.TypeSupport</Import>
|
||||
</Imports>
|
||||
<Java>TypeSupport.GetField(${this},${name},${flags})</Java>
|
||||
<Params>
|
||||
@ -65,7 +65,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.TypeSupport</Import>
|
||||
<Import>CS2JNet.System.TypeSupport</Import>
|
||||
</Imports>
|
||||
<Java>TypeSupport.InvokeMember(${this}, ${name}, ${target}, ${args})</Java>
|
||||
<Params>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Web.HttpUtilSupport</Import>
|
||||
<Import>CS2JNet.System.Web.HttpUtilSupport</Import>
|
||||
</Imports>
|
||||
<Java>HttpUtilSupport.HtmlEncode(${str})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Web.Services.Protocols.SoapHttpClientProtocol</Import>
|
||||
<Import>CS2JNet.System.Web.Services.Protocols.SoapHttpClientProtocol</Import>
|
||||
</Imports>
|
||||
<Java>SoapHttpClientProtocol</Java>
|
||||
<Name>System.Web.Services.Protocols.SoapHttpClientProtocol</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Web.Services.Protocols.SoapMessage</Import>
|
||||
<Import>CS2JNet.System.Web.Services.Protocols.SoapMessage</Import>
|
||||
</Imports>
|
||||
<Java>SoapMessage</Java>
|
||||
<Name>System.Web.Services.Protocols.SoapMessage</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.Serialization.IXmlSerializable</Import>
|
||||
<Import>CS2JNet.System.Xml.Serialization.IXmlSerializable</Import>
|
||||
</Imports>
|
||||
<Java>IXmlSerializable</Java>
|
||||
<Name>System.Xml.Serialization.IXmlSerializable</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlAttribute</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlAttribute</Import>
|
||||
</Imports>
|
||||
<Java>XmlAttribute</Java>
|
||||
<Name>System.Xml.XmlAttribute</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlAttributeCollection</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlAttributeCollection</Import>
|
||||
</Imports>
|
||||
<Java>XmlAttributeCollection</Java>
|
||||
<Name>System.Xml.XmlAttributeCollection</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlCDataSection</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlCDataSection</Import>
|
||||
</Imports>
|
||||
<Java>XmlCDataSection</Java>
|
||||
<Name>System.Xml.XmlCDataSection</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlComment</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlComment</Import>
|
||||
</Imports>
|
||||
<Java>XmlComment</Java>
|
||||
<Name>System.Xml.XmlComment</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlDeclaration</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlDeclaration</Import>
|
||||
</Imports>
|
||||
<Java>XmlDeclaration</Java>
|
||||
<Name>System.Xml.XmlDeclaration</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlDocument</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlDocument</Import>
|
||||
</Imports>
|
||||
<Java>XmlDocument</Java>
|
||||
<Name>System.Xml.XmlDocument</Name>
|
||||
@ -192,7 +192,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlDeclaration</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlDeclaration</Import>
|
||||
</Imports>
|
||||
<Java>new XmlDeclaration(${version},${encoding},${standalone})</Java>
|
||||
<Params>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlElement</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlElement</Import>
|
||||
</Imports>
|
||||
<Java>XmlElement</Java>
|
||||
<Name>System.Xml.XmlElement</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlNode</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlNode</Import>
|
||||
</Imports>
|
||||
<Java>XmlNode</Java>
|
||||
<Name>System.Xml.XmlNode</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlNodeList</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlNodeList</Import>
|
||||
</Imports>
|
||||
<Java>XmlNodeList</Java>
|
||||
<Name>System.Xml.XmlNodeList</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlReader</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlReader</Import>
|
||||
</Imports>
|
||||
<Java>XmlReader</Java>
|
||||
<Name>System.Xml.XmlReader</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlText</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlText</Import>
|
||||
</Imports>
|
||||
<Java>XmlText</Java>
|
||||
<Name>System.Xml.XmlText</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlTextReader</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlTextReader</Import>
|
||||
</Imports>
|
||||
<Java>XmlTextReader</Java>
|
||||
<Name>System.Xml.XmlTextReader</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.XmlWriter</Import>
|
||||
<Import>CS2JNet.System.Xml.XmlWriter</Import>
|
||||
</Imports>
|
||||
<Java>XmlWriter</Java>
|
||||
<Name>System.Xml.XmlWriter</Name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Xml.Xsl.XslTransform</Import>
|
||||
<Import>CS2JNet.System.Xml.Xsl.XslTransform</Import>
|
||||
</Imports>
|
||||
<Java>XslTransform</Java>
|
||||
<Name>System.Xml.Xsl.XslCompiledTransform</Name>
|
||||
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>ICSharpCode.SharpZipLib.Zip.ZipEntry</Name>
|
||||
<Inherits>
|
||||
<Type>System.Runtime.InteropServices.ICloneable</Type>
|
||||
</Inherits>
|
||||
<Java>ZipEntry</Java>
|
||||
<Imports>
|
||||
<Import>java.util.zip.ZipEntry</Import>
|
||||
</Imports>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.String</Type>
|
||||
<Name>Name</Name>
|
||||
<Get>${this}.getName()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Boolean</Type>
|
||||
<Name>IsDirectory</Name>
|
||||
<Get>${this}.isDirectory()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Class>
|
@ -1,36 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>ICSharpCode.SharpZipLib.Zip.ZipInputStream</Name>
|
||||
<Inherits>
|
||||
<Type>ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream</Type>
|
||||
<Type>System.IO.Stream</Type>
|
||||
<Type>System.IDisposable</Type>
|
||||
</Inherits>
|
||||
<Java>ZipInputStream</Java>
|
||||
<Imports>
|
||||
<Import>java.util.zip.ZipInputStream</Import>
|
||||
</Imports>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>baseInputStream</Name>
|
||||
<Type>System.IO.Stream</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.io.InputStream</Import>
|
||||
</Imports>
|
||||
<Java>new ZipInputStream(${baseInputStream})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>ICSharpCode.SharpZipLib.Zip.ZipEntry</Return>
|
||||
<Name>GetNextEntry</Name>
|
||||
<Java>${this}.getNextEntry()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="../Translation.xsd"
|
||||
>
|
||||
<!-- <Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
> -->
|
||||
<Name>System.Activator</Name>
|
||||
<Properties>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>CreateInstance</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Type</Type>
|
||||
<Name>type</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${type}.newInstance()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,49 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.ApplicationException</Name>
|
||||
<Java>RuntimeException</Java>
|
||||
<Inherits>
|
||||
<Type>System.Exception</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new RuntimeException()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new RuntimeException(${message})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.SerializationInfo</Type>
|
||||
<Name>info</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.StreamingContext</Type>
|
||||
<Name>ctxt</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Exception</Type>
|
||||
<Name>inner</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new RuntimeException(${message}, ${inner})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
</Class>
|
@ -1,91 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.ArgumentException</Name>
|
||||
<Java>ArgumentException</Java>
|
||||
<Inherits>
|
||||
<Type>System.SystemException</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new ArgumentException()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.SerializationInfo</Type>
|
||||
<Name>info</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.StreamingContext</Type>
|
||||
<Name>ctxt</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Exception</Type>
|
||||
<Name>inner</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message}, ${inner})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>paramName</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message}, ${paramName})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>paramName</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Exception</Type>
|
||||
<Name>inner</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>new ArgumentException(${message}, ${paramName}, ${inner})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
</Class>
|
@ -1,49 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.ArithmeticException</Name>
|
||||
<Java>ArithmeticException</Java>
|
||||
<Inherits>
|
||||
<Type>System.SystemException</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new ArithmeticException()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArithmeticException(${message})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.SerializationInfo</Type>
|
||||
<Name>info</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.StreamingContext</Type>
|
||||
<Name>ctxt</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Exception</Type>
|
||||
<Name>inner</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArithmeticException(${message})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
</Class>
|
@ -1,47 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Array</Name>
|
||||
<Inherits>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Type>System.IEnumerable</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Length</Name>
|
||||
<Get>${this}.length</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>${TYPE}</Return>
|
||||
<Name>GetValue</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>index</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.Arrays</Import>
|
||||
</Imports>
|
||||
<Java>Array.get(${this}, ${index})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Sort</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object[]</Type>
|
||||
<Name>array</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.Arrays</Import>
|
||||
</Imports>
|
||||
<Java>Arrays.sort(${array})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Attribute</Name>
|
||||
<Java>Class</Java> <!-- java can't create annotations, we pass their type instead -->
|
||||
</Class>
|
@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Boolean</Name>
|
||||
<Java>boolean</Java>
|
||||
<Inherits>
|
||||
<Type>System.IComparable</Type>
|
||||
<Type>System.IFormattable</Type>
|
||||
<Type>System.IConvertible</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.String</Type>
|
||||
<Name>FalseString</Name>
|
||||
<Get>"False"</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.String</Type>
|
||||
<Name>TrueString</Name>
|
||||
<Get>"True"</Get>
|
||||
</Property>
|
||||
<!-- C# 2.0 nullable value types -->
|
||||
<Property>
|
||||
<Type>System.Boolean</Type>
|
||||
<Name>HasValue</Name>
|
||||
<Get>${this} != null</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Boolean</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>str</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Boolean.valueOf(${str})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Java>String.valueOf(${this})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Byte</Name>
|
||||
<Java>byte</Java>
|
||||
<Inherits>
|
||||
<Type>System.Number</Type>
|
||||
<Type>System.IComparable</Type>
|
||||
<Type>System.IFormattable</Type>
|
||||
<Type>System.IConvertible</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>MinValue</Name>
|
||||
<Type>System.Byte</Type>
|
||||
<Get>Byte.MIN_VALUE</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>MaxValue</Name>
|
||||
<Type>System.Byte</Type>
|
||||
<Get>Byte.MAX_VALUE</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Java>String.valueOf(${this})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Byte</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>str</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Byte.valueOf(${str})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,141 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Char</Name>
|
||||
<Java>char</Java>
|
||||
<Inherits>
|
||||
<Type>System.IComparable</Type>
|
||||
<Type>System.IFormattable</Type>
|
||||
<Type>System.IConvertible</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>MinValue</Name>
|
||||
<Type>System.Char</Type>
|
||||
<Get>Character.MIN_VALUE</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>MaxValue</Name>
|
||||
<Type>System.Char</Type>
|
||||
<Get>Character.MAX_VALUE</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Java>String.valueOf(${this})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsDigit</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.isDigit(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsLetter</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.isLetter(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsLetterOrDigit</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.isLetterOrDigit(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsUpper</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.isUpperCase(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsLower</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.isLowerCase(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsWhiteSpace</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.isWhitespace(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Char</Return>
|
||||
<Name>ToUpper</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.toUpperCase(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Char</Return>
|
||||
<Name>ToLower</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.toLowerCase(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Char</Return>
|
||||
<Name>ToUpperInvariant</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.toUpperCase(${ch})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Char</Return>
|
||||
<Name>ToLowerInvariant</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Char</Type>
|
||||
<Name>ch</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Character.toLowerCase(${ch})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,175 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.ArrayList</Name>
|
||||
<Java>ArrayListSupport</Java>
|
||||
<Inherits>
|
||||
<Type>System.Collections.IEnumerable</Type>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Inherits>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Collections.ArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new ArrayListSupport()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>length</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArrayListSupport(${length})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>collection</Name>
|
||||
<Type>System.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArrayListSupport(${collection})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>AddRange</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addAllS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>AddRange</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Array</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addAll(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Clear</Name>
|
||||
<Params>
|
||||
</Params>
|
||||
<Java>${this}.clear()</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.contains(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${i})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>v</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Insert</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>index</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.add(${index}, ${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Remove</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.removeS(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>RemoveAt</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>index</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.remove(${index})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object[]</Return>
|
||||
<Name>ToArray</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>TYPEOF_expr</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.toArrayS(new ${TYPEOF_TYPE}[0])</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Name>Sort</Name>
|
||||
<Java>${this}.sort()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.DictionaryEntry</Name>
|
||||
<Imports>
|
||||
<Import>java.util.Map</Import>
|
||||
</Imports>
|
||||
<Java>Map.Entry</Java>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Object</Type>
|
||||
<Name>Key</Name>
|
||||
<Get>${this}.getKey()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Object</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}.getValue()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Class>
|
@ -1,123 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.Generic.Dictionary</Name>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>Hashtable</Java>
|
||||
<Inherits>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Type>System.Collections.IDictionary</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>new Hashtable()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>length</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>new Hashtable(${length})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>collection</Name>
|
||||
<Type>System.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>new Hashtable(${collection})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Name>Keys</Name>
|
||||
<Get>${this}.keySet()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>ContainsKey</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.Generic.List</Name>
|
||||
<Java>ArrayListSupport</Java>
|
||||
<Inherits>
|
||||
<Type>System.Collections.IEnumerable</Type>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Inherits>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Collections.ArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new ArrayListSupport()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>length</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArrayListSupport(${length})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>collection</Name>
|
||||
<Type>System.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArrayListSupport(${collection})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>AddRange</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addAllS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>AddRange</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Array</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addAllS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.contains(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${i})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>v</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object[]</Return>
|
||||
<Name>ToArray</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>TYPEOF_expr</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.toArrayS(new ${TYPEOF_TYPE}[0])</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Name>Sort</Name>
|
||||
<Java>${this}.sort()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,128 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.Hashtable</Name>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>Hashtable</Java>
|
||||
<Inherits>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Type>System.Collections.IDictionary</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>new Hashtable()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>length</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>new Hashtable(${length})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>collection</Name>
|
||||
<Type>System.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.Hashtable</Import>
|
||||
</Imports>
|
||||
<Java>new Hashtable(${collection})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Name>Keys</Name>
|
||||
<Get>${this}.keySet()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Name>Values</Name>
|
||||
<Get>${this}.values()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>ContainsKey</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:SchemaLocation="http://www.w3.org/2001/XMLSchema file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
>
|
||||
<Name>System.Collections.ICollection</Name>
|
||||
<Java>Iterable</Java>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.IEnumerator</Return>
|
||||
<Name>GetEnumerator</Name>
|
||||
<Java>${this}.iterator()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Interface>
|
@ -1,104 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:SchemaLocation="http://www.w3.org/2001/XMLSchema file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
>
|
||||
<Name>System.Collections.IDictionary</Name>
|
||||
<Java>Map</Java>
|
||||
<Imports>
|
||||
<Import>java.util.Map</Import>
|
||||
</Imports>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Name>Keys</Name>
|
||||
<Get>${this}.keySet()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
<Name>Values</Name>
|
||||
<Get>${this}.values()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>ContainsKey</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Remove</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.remove(${value})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
|
||||
</Interface>
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:SchemaLocation="http://www.w3.org/2001/XMLSchema file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
>
|
||||
<Name>System.Collections.IEnumerable</Name>
|
||||
<Java>Iterable</Java>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.IEnumerator</Return>
|
||||
<Name>GetEnumerator</Name>
|
||||
<Java>${this}.iterator()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.IList</Name>
|
||||
<Java>List</Java>
|
||||
<Imports>
|
||||
<Import>java.util.List</Import>
|
||||
</Imports>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.add(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.contains(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${i})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>v</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.ObjectModel.Collection</Name>
|
||||
<Java>ArrayListSupport</Java>
|
||||
<Inherits>
|
||||
<Type>System.Collections.IEnumerable</Type>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Inherits>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Collections.ArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new ArrayListSupport()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>length</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArrayListSupport(${length})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>collection</Name>
|
||||
<Type>System.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new ArrayListSupport(${collection})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>AddRange</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addAllS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>AddRange</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>arg</Name>
|
||||
<Type>System.Array</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.addAllS(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.contains(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${i})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>i</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>v</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.set___idx(${i}, ${v})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object[]</Return>
|
||||
<Name>ToArray</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>TYPEOF_expr</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.toArrayS(new ${TYPEOF_TYPE}[0])</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Name>Sort</Name>
|
||||
<Java>${this}.sort()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,130 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.SortedList</Name>
|
||||
<Imports>
|
||||
<Import>java.util.TreeMap</Import>
|
||||
</Imports>
|
||||
<Java>TreeMap</Java>
|
||||
<Inherits>
|
||||
<Type>System.IDictionary</Type>
|
||||
<Type>System.ICollection</Type>
|
||||
<Type>System.IEnumerable</Type>
|
||||
<Type>System.ICloneable</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.util.TreeMap</Import>
|
||||
</Imports>
|
||||
<Java>new TreeMap()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>length</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.TreeMap</Import>
|
||||
</Imports>
|
||||
<Java>new TreeMap()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>collection</Name>
|
||||
<Type>System.IDictionary</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.TreeMap</Import>
|
||||
</Imports>
|
||||
<Java>new TreeMap(${collection})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.ICollection</Type>
|
||||
<Name>Keys</Name>
|
||||
<Get>${this}.keySet()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.ICollection</Type>
|
||||
<Name>Values</Name>
|
||||
<Get>${this}.values()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Add</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>ContainsKey</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Contains</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.containsKey(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>get___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.get(${key})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>set___idx</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>value</Name>
|
||||
<Type>System.Object</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.put(${key}, ${value})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Collections.Specialized.NameValueCollection</Name>
|
||||
<Java>Properties</Java>
|
||||
<Inherits>
|
||||
<Type>System.IList</Type>
|
||||
</Inherits>
|
||||
<Imports>
|
||||
<Import>java.util.Properties</Import>
|
||||
</Imports>
|
||||
<Constructors>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>Get</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>key</Name>
|
||||
<Type>System.String</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.getProperty(${key})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Configuration.ConfigurationManager</Name>
|
||||
<Java>NONE</Java>
|
||||
<Inherits>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Collections.Specialized.NameValueCollection</Type>
|
||||
<Name>AppSettings</Name>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Configuration.ConfigurationManager</Import>
|
||||
</Imports>
|
||||
<Get>ConfigurationManager.getAppSettings()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Configuration.ConfigurationSettings</Name>
|
||||
<Java>NONE</Java>
|
||||
<Inherits>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Collections.Specialized.NameValueCollection</Type>
|
||||
<Name>AppSettings</Name>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Configuration.ConfigurationSettings</Import>
|
||||
</Imports>
|
||||
<Get>ConfigurationSettings.getAppSettings()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,127 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="../Translation.xsd"
|
||||
>
|
||||
<!-- <Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
> -->
|
||||
<Name>System.Console</Name>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.IO.TextWriter</Type>
|
||||
<Name>Out</Name>
|
||||
<Get>System.out</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Write</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>System.out.print(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Write</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}), ${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Write</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}), ${arg1}, ${arg2})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>WriteLine</Name>
|
||||
<Params>
|
||||
</Params>
|
||||
<Java>System.out.println()</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>WriteLine</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>System.out.println(${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>WriteLine</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}) + "\\n", ${arg})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>WriteLine</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(ConsoleSupport.CSFmtStrToJFmtStr(${fmt}) + "\\n", ${arg1}, ${arg2})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,137 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="../Translation.xsd"
|
||||
>
|
||||
<!-- <Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
> -->
|
||||
<Name>System.Convert</Name>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Object</Type>
|
||||
<Name>DBNull</Name>
|
||||
<Get>null</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Byte[]</Return>
|
||||
<Name>FromBase64String</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>s</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>org.apache.commons.codec.binary.Base64</Import>
|
||||
</Imports>
|
||||
<Java>Base64.decodeBase64(${s})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToBase64String</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Byte[]</Type>
|
||||
<Name>inArray</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>org.apache.commons.codec.binary.Base64</Import>
|
||||
</Imports>
|
||||
<Java>Base64.encodeBase64String(${inArray})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>ToBoolean</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Number</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>((${value}) > 0)</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>ToBoolean</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Boolean</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${value}</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>ToInt32</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Integer.valueOf(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>ToInt32</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Number</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>(int)Math.round(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int64</Return>
|
||||
<Name>ToInt64</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Long.valueOf(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int64</Return>
|
||||
<Name>ToInt64</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Number</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>(long)Math.round(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int64</Return>
|
||||
<Name>ToDateTime</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.parse(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Integer.toString(${value})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.DBNull</Name>
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.DBNull</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>null</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,277 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.DateTime</Name>
|
||||
<Imports>
|
||||
<Import>java.util.Date</Import>
|
||||
</Imports>
|
||||
<Java>Date</Java>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>year</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>month</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>day</Name>
|
||||
<Type>System.Int32</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.util.GregorianCalendar</Import>
|
||||
</Imports>
|
||||
<Java>new GregorianCalendar(${year}, ${month}-1, ${day}).getTime()</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>Now</Name>
|
||||
<Imports>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Get>Calendar.getInstance().getTime()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>Today</Name>
|
||||
<Imports>
|
||||
<Import>java.util.Date</Import>
|
||||
</Imports>
|
||||
<Get>new Date()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>s</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.parse(${s})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>s</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.IFormatProvider</Type>
|
||||
<Name>provider</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.parse(${s}, ${provider})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>format</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.ToString(${this}, ${format})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>format</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.IFormatProvider</Type>
|
||||
<Name>provider</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.ToString(${this}, ${format}, ${provider})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.text.SimpleDateFormat</Import>
|
||||
</Imports>
|
||||
<Java>(new SimpleDateFormat("MM/dd/yyyy HH:mm:ss a")).format(${this})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToShortDateString</Name>
|
||||
<Params>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.text.SimpleDateFormat</Import>
|
||||
</Imports>
|
||||
<Java>(new SimpleDateFormat("MM/dd/yy")).format(${this})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>Compare</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>t1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>t2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${t1}.compareTo(${t2})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>CompareTo</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.compareTo(${value})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>ToUniversalTime</Name>
|
||||
<Params>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTZ</Import>
|
||||
<Import>java.util.TimeZone</Import>
|
||||
</Imports>
|
||||
<Java>(new DateTZ(${this}.getTime(), TimeZone.getTimeZone("UTC")))</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>AddMinutes</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>amount</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.MINUTE,${amount})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>AddHours</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>amount</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.HOUR,${amount})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>AddMilliseconds</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>amount</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.MILLISECOND,${amount})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>AddSeconds</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>amount</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.SECOND,${amount})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>AddDays</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>amount</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.DAY_OF_YEAR,${amount})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.DateTime</Return>
|
||||
<Name>AddMonths</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>amount</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
<Import>java.util.Calendar</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.add(${this},Calendar.MONTH,${amount})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.TimeSpan</Return>
|
||||
<Name>Subtract</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>date2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>(new TimeSpan(Math.abs(${this}.getTime() - ${date2}.getTime())))</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,58 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Decimal</Name>
|
||||
<Java>double</Java>
|
||||
<Inherits>
|
||||
<Type>System.Number</Type>
|
||||
<Type>System.IComparable</Type>
|
||||
<Type>System.IFormattable</Type>
|
||||
<Type>System.IConvertible</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>MinValue</Name>
|
||||
<Type>System.Decimal</Type>
|
||||
<Get>Double.MIN_VALUE</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>MaxValue</Name>
|
||||
<Type>System.Decimal</Type>
|
||||
<Get>Double.MAX_VALUE</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>MinusOne</Name>
|
||||
<Type>System.Decimal</Type>
|
||||
<Get>-1.0</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>Zero</Name>
|
||||
<Type>System.Decimal</Type>
|
||||
<Get>0.0</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>One</Name>
|
||||
<Type>System.Decimal</Type>
|
||||
<Get>1.0</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Java>String.valueOf(${this})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Double</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>dStr</Name>
|
||||
<Type>System.String</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Double.valueOf(${dStr})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Double</Name>
|
||||
<Java>double</Java>
|
||||
<Inherits>
|
||||
<Type>System.Number</Type>
|
||||
<Type>System.IComparable</Type>
|
||||
<Type>System.IFormattable</Type>
|
||||
<Type>System.IConvertible</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>MinValue</Name>
|
||||
<Type>System.Double</Type>
|
||||
<Get>Double.MIN_VALUE</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>MaxValue</Name>
|
||||
<Type>System.Double</Type>
|
||||
<Get>Double.MAX_VALUE</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>NaN</Name>
|
||||
<Type>System.Double</Type>
|
||||
<Get>Double.NaN</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>NegativeInfinity</Name>
|
||||
<Type>System.Double</Type>
|
||||
<Get>Double.NEGATIVE_INFINITY</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>PositiveInfinity</Name>
|
||||
<Type>System.Double</Type>
|
||||
<Get>Double.POSITIVE_INFINITY</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsNaN</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>d</Name>
|
||||
<Type>System.Double</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Double.isNaN(${d})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Double</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>dStr</Name>
|
||||
<Type>System.String</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Double.valueOf(${dStr})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Double</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>dStr</Name>
|
||||
<Type>System.String</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>provider</Name>
|
||||
<Type>System.IFormatProvider</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.text.NumberFormat</Import>
|
||||
</Imports>
|
||||
<Java>NumberFormat.getInstance(${provider}).parse(${dStr}).doubleValue()</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Double</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Name>dStr</Name>
|
||||
<Type>System.String</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>style</Name>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
</Param>
|
||||
<Param>
|
||||
<Name>provider</Name>
|
||||
<Type>System.IFormatProvider</Type>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.parse(${dStr}, ${style}, ${provider})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>format</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.*</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.ToString(${this}, ${format})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Java>String.valueOf(${this})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Globalization.CultureInfo</Type>
|
||||
<Name>provider</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.DoubleSupport</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.ToString(${this}, ${provider})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Casts>
|
||||
<Cast>
|
||||
<From>System.Double</From>
|
||||
<To>System.Int32</To>
|
||||
<Java>((int)(${expr}))</Java>
|
||||
</Cast>
|
||||
</Casts>
|
||||
</Class>
|
@ -1,81 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Enum</Name>
|
||||
<Java>Enum</Java>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>IsDefined</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>enumType</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>EnumSupport.isDefined(${enumType}, ${value})</Java>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.EnumSupport</Import>
|
||||
</Imports>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String</Return>
|
||||
<Name>ToString</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>modifier</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>EnumSupport.toString(${this}, ${modifier})</Java>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.EnumSupport</Import>
|
||||
</Imports>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>Parse</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Type</Type>
|
||||
<Name>enumType</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>Enum.valueOf(${enumType}, ${value})</Java>
|
||||
<Imports />
|
||||
</Method>
|
||||
</Methods>
|
||||
<Casts>
|
||||
<Cast>
|
||||
<Imports />
|
||||
<From>System.Byte</From>
|
||||
<Java>${to_type}.values()[${expr}]</Java>
|
||||
</Cast>
|
||||
<Cast>
|
||||
<Imports />
|
||||
<From>System.Enum</From>
|
||||
<To>System.Byte</To>
|
||||
<Java>(byte)(((Enum)${expr}).ordinal())</Java>
|
||||
</Cast>
|
||||
<Cast>
|
||||
<Imports />
|
||||
<From>System.Int32</From>
|
||||
<Java>${to_type}.values()[${expr}]</Java>
|
||||
</Cast>
|
||||
<Cast>
|
||||
<Imports />
|
||||
<From>System.Enum</From>
|
||||
<To>System.Int32</To>
|
||||
<Java>((Enum)${expr}).ordinal()</Java>
|
||||
</Cast>
|
||||
</Casts>
|
||||
</Class>
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Environment</Name>
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>NewLine</Name>
|
||||
<Type>System.String</Type>
|
||||
<Get>System.getProperty("line.separator")</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>java.net.InetAddress</Import>
|
||||
</Imports>
|
||||
<Name>MachineName</Name>
|
||||
<Type>System.String</Type>
|
||||
<Get>InetAddress.getLocalHost().getHostName()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Class>
|
@ -1,74 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Exception</Name>
|
||||
<Java>Exception</Java>
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Java>new Exception()</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new Exception(${message})</Java>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.SerializationInfo</Type>
|
||||
<Name>info</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.StreamingContext</Type>
|
||||
<Name>ctxt</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>message</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Exception</Type>
|
||||
<Name>inner</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>new Exception(${message}, ${inner})</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>Message</Name>
|
||||
<Type>System.String</Type>
|
||||
<Get>${this}.getMessage()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>Source</Name>
|
||||
<Type>System.String</Type>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.ExceptionSupport</Import>
|
||||
</Imports>
|
||||
<Get>ExceptionSupport.getSource(${this})</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>StackTrace</Name>
|
||||
<Type>System.String</Type>
|
||||
<Get>${this}.getStackTrace().toString()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>InnerException</Name>
|
||||
<Type>System.Exception</Type>
|
||||
<Get>((Exception)${this}.getCause())</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Class>
|
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Globalization.CultureInfo</Name>
|
||||
<Java>TODO</Java>
|
||||
<Inherits>
|
||||
<Type>System.ICloneable</Type>
|
||||
<Type>System.IFormatProvider</Type>
|
||||
</Inherits>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>InvariantCulture</Name>
|
||||
<Type>System.Globalization.CultureInfo</Type>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.util.LocaleSupport</Import>
|
||||
</Imports>
|
||||
<Get>LocaleSupport.INVARIANT</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Globalization.NumberFormatInfo</Name>
|
||||
<Inherits>
|
||||
<Type>System.ICloneable</Type>
|
||||
<Type>System.IFormatProvider</Type>
|
||||
</Inherits>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.util.LocaleSupport</Import>
|
||||
</Imports>
|
||||
<Java>LocaleSupport.INVARIANT</Java>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>InvariantInfo</Name>
|
||||
<Type>System.Globalization.NumberFormatInfo</Type>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.JavaSupport.util.LocaleSupport</Import>
|
||||
</Imports>
|
||||
<Get>LocaleSupport.INVARIANT</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Globalization.NumberStyles</Name>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Name>Integer</Name>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Globalization.NumberStyles</Import>
|
||||
</Imports>
|
||||
<Get>NumberStyles.getInteger()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>HexNumber</Name>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Globalization.NumberStyles</Import>
|
||||
</Imports>
|
||||
<Get>NumberStyles.getHexNumber()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Name>Any</Name>
|
||||
<Type>System.Globalization.NumberStyles</Type>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.Globalization.NumberStyles</Import>
|
||||
</Imports>
|
||||
<Get>NumberStyles.getAny()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>System.Guid</Name>
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Java>UUID</Java>
|
||||
<Imports>
|
||||
<Import>java.util.UUID</Import>
|
||||
</Imports>
|
||||
<Constructors>
|
||||
</Constructors>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Guid</Return>
|
||||
<Name>NewGuid</Name>
|
||||
<Imports>
|
||||
<Import>java.util.UUID</Import>
|
||||
</Imports>
|
||||
<Java>UUID.randomUUID()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:SchemaLocation="http://www.w3.org/2001/XMLSchema file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
>
|
||||
<Name>System.ICloneable</Name>
|
||||
<Java>ICloneable</Java>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.ScormContentPlayer.Util.ICloneable</Import>
|
||||
</Imports>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Object</Return>
|
||||
<Name>Clone</Name>
|
||||
<Java>${this}.Clone()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:SchemaLocation="http://www.w3.org/2001/XMLSchema file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
>
|
||||
<Name>System.IComparable</Name>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Int32</Return>
|
||||
<Name>CompareTo</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>${this}.Compare(${arg})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:SchemaLocation="http://www.w3.org/2001/XMLSchema file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
|
||||
>
|
||||
<Name>System.IDisposable</Name>
|
||||
<Java>IDisposable</Java>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IDisposable</Import>
|
||||
</Imports>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Dispose</Name>
|
||||
<Java>${this}.close()</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -1,150 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd">
|
||||
<Name>System.IO.Directory</Name>
|
||||
<Java>File</Java>
|
||||
<Imports>
|
||||
<Import>java.io.File</Import>
|
||||
</Imports>
|
||||
<Constructors></Constructors>
|
||||
<Properties></Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Return>System.Boolean</Return>
|
||||
<Name>Exists</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.io.File</Import>
|
||||
</Imports>
|
||||
<Java>(new File(${path})).exists()</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.IO.DirectoryInfo</Return>
|
||||
<Name>CreateDirectory</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.io.File</Import>
|
||||
</Imports>
|
||||
<Java>(new File(${path})).mkdirs()</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Delete</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.delete(${path}, false)</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Delete</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Boolean</Type>
|
||||
<Name>recursive</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.delete(${path}, ${recursive})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.Void</Return>
|
||||
<Name>Move</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>sourceFileName</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>destFileName</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.io.File</Import>
|
||||
</Imports>
|
||||
<Java>(new File(${sourceFileName})).renameTo(new File(${destFileName}))</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String[]</Return>
|
||||
<Name>GetFileSystemEntries</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>java.io.File</Import>
|
||||
</Imports>
|
||||
<Java>(new File(${path})).list()</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String[]</Return>
|
||||
<Name>GetFiles</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>searchpattern</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.getFiles(${path}, ${searchpattern})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String[]</Return>
|
||||
<Name>GetDirectories</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.getDirectories(${path})</Java>
|
||||
</Method>
|
||||
<Method>
|
||||
<Return>System.String[]</Return>
|
||||
<Name>GetFiles</Name>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>path</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Imports>
|
||||
<Import>RusticiSoftware.System.IO.DirectorySupport</Import>
|
||||
</Imports>
|
||||
<Java>DirectorySupport.getFiles(${path})</Java>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user