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

119 lines
3.6 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>
<Java>System.getProperty("java.io.tempdir")</Java>
<Params>
</Params>
<Name>GetTempPath</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>3hXB/CetRaRsxGX4tnYLHV3H7y4=</DigestValue></Reference></SignedInfo><SignatureValue>gXU6SIQJodDJtjbem3/rYDKiGU+cyvqX2JTrFyKuzUuT6T7+7ZYgiQudeJhd8NDZnTQZTmsCG82G9UI2ubW/2XOdBpm5nTALzFyXwC4ZJnFouylTslTmXuWrhofL4F15lSLiQfVgnuwxt5VOoedSNWHxhDTjNZxkpagxcGpbUGo=</SignatureValue></Signature></Class>