mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
add AppendFormat
This commit is contained in:
parent
f6683a0c84
commit
dec3078b49
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
This file is
|
This file is
|
||||||
@ -28,6 +28,24 @@
|
|||||||
<Name>Append</Name>
|
<Name>Append</Name>
|
||||||
<Return>System.Text.StringBuilder</Return>
|
<Return>System.Text.StringBuilder</Return>
|
||||||
</Method>
|
</Method>
|
||||||
|
<Method>
|
||||||
|
<Imports>
|
||||||
|
<Import>CS2JNet.System.StringSupport</Import>
|
||||||
|
</Imports>
|
||||||
|
<Java>${this:16}.append(String.format(StringSupport.CSFmtStrToJFmtStr(${format})${,*]1}))</Java>
|
||||||
|
<Params>
|
||||||
|
<Param>
|
||||||
|
<Type>System.String</Type>
|
||||||
|
<Name>format</Name>
|
||||||
|
</Param>
|
||||||
|
</Params>
|
||||||
|
<ParamArray>
|
||||||
|
<Type>System.Object[]</Type>
|
||||||
|
<Name>args</Name>
|
||||||
|
</ParamArray>
|
||||||
|
<Name>AppendFormat</Name>
|
||||||
|
<Return>System.Text.StringBuilder</Return>
|
||||||
|
</Method>
|
||||||
<Method>
|
<Method>
|
||||||
<Imports />
|
<Imports />
|
||||||
<Java>${this:16}.append((${arg}) + System.getProperty("line.separator"))</Java>
|
<Java>${this:16}.append((${arg}) + System.getProperty("line.separator"))</Java>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user