W3cubDocs

/Haxe Java

FileChannel

package java.nio.channels

extends AbstractInterruptibleChannel

implements SeekableByteChannel, GatheringByteChannel, ScatteringByteChannel

Available on java

Static methods

staticopen(param1:Path, param2:NativeArray<OpenOption>):FileChannel

staticopen(param1:Path, param2:Set<OpenOption>, param3:NativeArray<FileAttribute<Dynamic>>):FileChannel

Methods

force(param1:Bool):Void

finallock():FileLock

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

map(param1:FileChannel_MapMode, param2:Int64, param3:Int64):MappedByteBuffer

position(param1:Int64):FileChannel

position():Int64

read(param1:ByteBuffer, param2:Int64):Int

read(param1:ByteBuffer):Int

read(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64

finalread(param1:NativeArray<ByteBuffer>):Int64

size():Int64

transferFrom(param1:ReadableByteChannel, param2:Int64, param3:Int64):Int64

transferTo(param1:Int64, param2:Int64, param3:WritableByteChannel):Int64

truncate(param1:Int64):FileChannel

finaltryLock():FileLock

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

write(param1:ByteBuffer, param2:Int64):Int

write(param1:ByteBuffer):Int

write(param1:NativeArray<ByteBuffer>, param2:Int, param3:Int):Int64

finalwrite(param1:NativeArray<ByteBuffer>):Int64

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/nio/channels/FileChannel.html