W3cubDocs

/Haxe Java

File

package java.io

implements Comparable<File>, Serializable

Available on java

Constructor

new (param1:URI)

new (param1:String)

new (param1:String, param2:String)

new (param1:File, param2:String)

Methods

canExecute ():Bool

canRead ():Bool

canWrite ():Bool

compareTo (param1:Dynamic):Int

compareTo (param1:File):Int

createNewFile ():Bool

delete ():Bool

deleteOnExit ():Void

equals (param1:Dynamic):Bool

exists ():Bool

getAbsoluteFile ():File

getAbsolutePath ():String

getCanonicalFile ():File

getCanonicalPath ():String

getFreeSpace ():Int64

getName ():String

getParent ():String

getParentFile ():File

getPath ():String

getTotalSpace ():Int64

getUsableSpace ():Int64

hashCode ():Int

isAbsolute ():Bool

isDirectory ():Bool

isFile ():Bool

isHidden ():Bool

lastModified ():Int64

length ():Int64

list (param1:FilenameFilter):NativeArray<String>

list ():NativeArray<String>

listFiles (param1:FileFilter):NativeArray<File>

listFiles ():NativeArray<File>

listFiles (param1:FilenameFilter):NativeArray<File>

mkdir ():Bool

mkdirs ():Bool

renameTo (param1:File):Bool

setExecutable (param1:Bool):Bool

setExecutable (param1:Bool, param2:Bool):Bool

setLastModified (param1:Int64):Bool

setReadOnly ():Bool

setReadable (param1:Bool):Bool

setReadable (param1:Bool, param2:Bool):Bool

setWritable (param1:Bool):Bool

setWritable (param1:Bool, param2:Bool):Bool

toPath ():Path

toString ():String

toURI ():URI

toURL ():URL

Static variables

static pathSeparator:String

static pathSeparatorChar:Char16

static separator:String

static separatorChar:Char16

Static methods

static createTempFile (param1:String, param2:String):File

static createTempFile (param1:String, param2:String, param3:File):File

static listRoots ():NativeArray<File>

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/java/io/File.html