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

119 lines
2.9 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 />
</Class>