mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
154 lines
4.0 KiB
XML
154 lines
4.0 KiB
XML
<?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">
|
|
<Java>StringBuilder</Java>
|
|
<Name>System.Text.StringBuilder</Name>
|
|
<Uses />
|
|
<Inherits />
|
|
<Methods>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this}.append(${arg})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>arg</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Append</Name>
|
|
<Return>System.Text.StringBuilder</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this}.append((${arg}) + System.getProperty("line.separator"))</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.String</Type>
|
|
<Name>arg</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>AppendLine</Name>
|
|
<Return>System.Text.StringBuilder</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports>
|
|
<string>RusticiSoftware.System.Text.StringBuilderSupport</string>
|
|
</Imports>
|
|
<Java>StringBuilderSupport.ensureCapacity(${this}, ${arg})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>arg</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>EnsureCapacity</Name>
|
|
<Return>System.Int32</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this}.insert(${idx}, ${obj})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>idx</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Object</Type>
|
|
<Name>obj</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Insert</Name>
|
|
<Return>System.Text.StringBuilder</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this}.replace(${old}, ${new})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Char</Type>
|
|
<Name>old</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Char</Type>
|
|
<Name>new</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Replace</Name>
|
|
<Return>System.Text.StringBuilder</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this}.delete(${startIndex}, (${startIndex})+(${length}))</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>startIndex</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>length</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>Remove</Name>
|
|
<Return>System.Text.StringBuilder</Return>
|
|
</Method>
|
|
<Method>
|
|
<Imports />
|
|
<Java>${this}.substring(${startIndex}, (${startIndex})+(${length}))</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>startIndex</Name>
|
|
</Param>
|
|
<Param>
|
|
<Type>System.Int32</Type>
|
|
<Name>length</Name>
|
|
</Param>
|
|
</Params>
|
|
<Name>ToString</Name>
|
|
<Return>System.String</Return>
|
|
</Method>
|
|
</Methods>
|
|
<Properties>
|
|
<Property>
|
|
<Imports>
|
|
<string>RusticiSoftware.System.Text.StringBuilderSupport</string>
|
|
</Imports>
|
|
<Java>${this}.length()</Java>
|
|
<Type>System.Int32</Type>
|
|
<Name>Length</Name>
|
|
<Get>${this}.length()</Get>
|
|
<Set>StringBuilderSupport.setLength(${this}, ${value})</Set>
|
|
</Property>
|
|
<Property>
|
|
<Imports />
|
|
<Java>${this}.capacity()</Java>
|
|
<Type>System.Int32</Type>
|
|
<Name>Capacity</Name>
|
|
<Get>${this}.capacity()</Get>
|
|
<Set>${this}.ensureCapacity(${value})</Set>
|
|
</Property>
|
|
</Properties>
|
|
<Events />
|
|
<Indexers />
|
|
<Constructors>
|
|
<Constructor>
|
|
<Imports />
|
|
<Java>new StringBuilder()</Java>
|
|
<Params />
|
|
</Constructor>
|
|
<Constructor>
|
|
<Imports />
|
|
<Java>new StringBuilder(${str})</Java>
|
|
<Params>
|
|
<Param>
|
|
<Type>System.String</Type>
|
|
<Name>str</Name>
|
|
</Param>
|
|
</Params>
|
|
</Constructor>
|
|
</Constructors>
|
|
<Fields />
|
|
<Casts />
|
|
<UnaryOps />
|
|
<BinaryOps />
|
|
</Class> |