W3cubDocs

/Haxe Java

AsynchronousFileChannel

package java.nio.channels

implements AsynchronousChannel

Available on java

Methods

close ():Void

force (param1:Bool):Void

isOpen ():Bool

lock ():Future<FileLock>

lock<A> (param1:Int64, param2:Int64, param3:Bool, param4:A, param5:CompletionHandler<FileLock, Dynamic>):Void

lock<A> (param1:A, param2:CompletionHandler<FileLock, Dynamic>):Void

lock (param1:Int64, param2:Int64, param3:Bool):Future<FileLock>

read (param1:ByteBuffer, param2:Int64):Future<Integer>

read<A> (param1:ByteBuffer, param2:Int64, param3:A, param4:CompletionHandler<Integer, Dynamic>):Void

size ():Int64

truncate (param1:Int64):AsynchronousFileChannel

tryLock ():FileLock

tryLock (param1:Int64, param2:Int64, param3:Bool):FileLock

write (param1:ByteBuffer, param2:Int64):Future<Integer>

write<A> (param1:ByteBuffer, param2:Int64, param3:A, param4:CompletionHandler<Integer, Dynamic>):Void

Static methods

static open (param1:Path, param2:NativeArray<OpenOption>):AsynchronousFileChannel

static open (param1:Path, param2:Set<OpenOption>, param3:ExecutorService, param4:NativeArray<FileAttribute<Dynamic>>):AsynchronousFileChannel

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