1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
2011-03-22 08:50:05 +01:00

112 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
-->
<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 />
<Java>Path</Java>
<Name>System.IO.Path</Name>
<Uses />
<Inherits> <Type>System.Object</Type> </Inherits>
<Methods>
<Method>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Java>(new File(${path})).getParent()</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>path</Name>
</Param>
</Params>
<Name>GetDirectoryName</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Java>(new File(${path})).getName()</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>path</Name>
</Param>
</Params>
<Name>GetFileName</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Java>(new File(${path})).getCanonicalPath()</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>path</Name>
</Param>
</Params>
<Name>GetFullPath</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>CS2JNet.System.IO.PathSupport</Import>
</Imports>
<Java>PathSupport.getExtension(${path})</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>path</Name>
</Param>
</Params>
<Name>GetExtension</Name>
<Return>System.String</Return>
</Method>
<Method>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Java>(new File(${path1}, ${path2})).toString()</Java>
<Params>
<Param>
<Type>System.String</Type>
<Name>path1</Name>
</Param>
<Param>
<Type>System.String</Type>
<Name>path2</Name>
</Param>
</Params>
<Name>Combine</Name>
<Return>System.String</Return>
</Method>
</Methods>
<Properties>
<Property>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Java>File.separatorChar</Java>
<Type>System.Char</Type>
<Name>DirectorySeparatorChar</Name>
<Get>File.separatorChar</Get>
<Set>${this:16}.setDirectorySeparatorChar(${value})</Set>
</Property>
</Properties>
<Events />
<Indexers />
<Constructors />
<Fields />
<Casts />
<UnaryOps />
<BinaryOps />
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>RcPf6BlogEuDJqJ3/gqDX3+TG7M=</DigestValue></Reference></SignedInfo><SignatureValue>NDRcTurt+GMStcvapI2OnveUvcJ9Y2+Fqqz0tIC1UZiUxtB91fXUAFq8vgdFmEq5PHw/E5k7ybDRPVscHx4dbDFYvsfjXxOGTR+aTUmiJnOsrDJQI1qvrY00eSKQvVLI9x7lPJ/t/lHmayLAEI7LMQYL0LfO7/53hRqop2ipIuY=</SignatureValue></Signature></Class>