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

119 lines
2.9 KiB
XML
Raw Permalink Normal View History

2011-05-26 02:34:22 -05:00
<?xml version="1.0" encoding="utf-8"?>
2011-02-08 12:27:00 +01:00
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
2011-03-22 08:50:05 +01:00
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
2011-02-08 12:27:00 +01:00
-->
2011-01-04 17:46:11 +01:00
<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">
2011-01-10 11:18:36 +01:00
<Imports />
<Java>Path</Java>
<Name>System.IO.Path</Name>
<Uses />
<Inherits> <Type>System.Object</Type> </Inherits>
<Methods>
<Method>
<Imports>
2011-01-10 11:45:19 +01:00
<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>
2011-01-10 11:45:19 +01:00
<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>
2011-01-10 11:45:19 +01:00
<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>
2011-05-24 12:16:42 +02:00
</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>
2011-01-10 11:45:19 +01:00
<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>
2011-01-10 11:45:19 +01:00
<Import>java.io.File</Import>
</Imports>
<Java>File.separatorChar</Java>
<Type>System.Char</Type>
<Name>DirectorySeparatorChar</Name>
<Get>File.separatorChar</Get>
2011-02-01 22:52:28 +01:00
<Set>${this:16}.setDirectorySeparatorChar(${value})</Set>
</Property>
</Properties>
<Events />
<Indexers />
<Constructors />
<Fields />
<Casts />
<UnaryOps />
<BinaryOps />
2013-03-15 16:50:55 +01:00
</Class>