java.io.File File System.IO.File System.Object java.io.PrintWriter java.io.OutputStreamWriter java.io.FileOutputStream java.nio.charset.Charset new PrintWriter(new OutputStreamWriter(new FileOutputStream(${path}), Charset.forName("UTF-8"))) System.String path CreateText System.IO.StreamWriter java.io.FileOutputStream java.io.BufferedOutputStream new BufferedOutputStream(new FileOutputStream(${path})) System.String path Create System.IO.StreamWriter java.io.FileInputStream new FileInputStream(${path}) System.String path OpenRead System.IO.Stream java.io.File (new File(${path})).delete() System.String path Delete System.Void java.io.File (new File(${path})).exists() System.String path Exists System.Boolean CS2JNet.System.IO.FileSupport FileSupport.copyFile(${sourceFileName}, ${destFileName}, true) System.String sourceFileName System.String destFileName Copy System.Void CS2JNet.System.IO.FileSupport FileSupport.copyFile(${sourceFileName}, ${destFileName}, ${overwrite}) System.String sourceFileName System.String destFileName System.Boolean overwrite Copy System.Void java.io.File (new File(${sourceFileName})).renameTo(new File(${destFileName})) System.String sourceFileName System.String destFileName Move System.Void /* Cannot set file attributes from Java - File.SetAttributes(${sourceFileName}, ${attributes}) */ System.String sourceFileName System.Object attributes SetAttributes System.Void /* Cannot get file attributes from Java - File.GetAttributes(${sourceFileName}) */ 0 System.String sourceFileName GetAttributes System.Enum