1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

add string.format

This commit is contained in:
Kevin Glynn 2011-04-28 11:18:41 +02:00
parent 32c3ae4b6c
commit c89cd6ae39

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is
@ -100,6 +100,72 @@
<Name>EndsWith</Name>
<Return>System.Boolean</Return>
</Method>
<Method>
<Imports>
<Import>CS2JNet.System.StringSupport</Import>
</Imports>
<Java>String.format(StringSupport.CSFmtStrToJFmtStr(${fmt}),${arg})</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>fmt</Name>
</Param>
<Param>
<Type>System.Object</Type>
<Name>arg</Name>
</Param>
</Params>
<Name>Format</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>CS2JNet.System.StringSupport</Import>
</Imports>
<Java>String.format(StringSupport.CSFmtStrToJFmtStr(${fmt}),${arg1},${arg2})</Java>
<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>
<Name>Format</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>CS2JNet.System.StringSupport</Import>
</Imports>
<Java>String.format(StringSupport.CSFmtStrToJFmtStr(${fmt}),${arg1},${arg2},${arg3})</Java>
<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>
<Param>
<Type>System.Object</Type>
<Name>arg3</Name>
</Param>
</Params>
<Name>Format</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports />
<Java>${this:16}.indexOf(${arg})</Java>