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

52 lines
1.5 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file://C:/Documents%20and%20Settings/kevin.glynn/My%20Documents/CS2JLibrary/Translation.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>System.IO.DirectoryInfo</Name>
<Inherits>
<Type>System.IO.FileSystemInfo</Type>
</Inherits>
<Java>File</Java>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Constructors>
<Constructor>
<Params>
<Param>
<Type>System.String</Type>
<Name>path</Name>
</Param>
</Params>
<Imports>
<Import>java.io.File</Import>
</Imports>
<Java>new File(${path})</Java>
</Constructor>
</Constructors>
<Properties>
</Properties>
<Methods>
<Method>
<Return>System.IO.FileInfo[]</Return>
<Name>GetFiles</Name>
<Imports>
<Import>RusticiSoftware.JavaSupport.io.*</Import>
</Imports>
<Java>${this}.listFiles(new FilterOnlyFiles())</Java>
</Method>
<Method>
<Return>System.IO.FileInfo[]</Return>
<Name>GetDirectories</Name>
<Imports>
<Import>RusticiSoftware.JavaSupport.io.*</Import>
</Imports>
<Java>${this}.listFiles(new FilterOnlyDirs())</Java>
</Method>
<Method>
<Return>System.IO.FileSystemInfo[]</Return>
<Name>GetFileSystemInfos</Name>
<Java>${this}.listFiles()</Java>
</Method>
</Methods>
</Class>