W3cubDocs

/Haxe Java

FileChannel

package java.nio.channels

extends AbstractInterruptibleChannel

implements SeekableByteChannel, GatheringByteChannel, ScatteringByteChannel

Available on java

Methods

force (param1:Bool):Void

lock ():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

read (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

tryLock ():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

write (param1:NativeArray<ByteBuffer>):Int64

Static methods

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

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

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