![]() |
Method getChannel()
Return type: java.nio.channels.FileChannel
Member of: java.io.RandomAccessFile
[api documentation
] [ main menu] |
Examples of how the element is used (one line per example):
[add your own example]
| 1 | lock = raf.getChannel().lock(); |
| 2 | FileChannel fc=f.getChannel(); |
| 3 | lock = raf.getChannel().lock(); |
| 4 | applicationLock = randomAccessFile.getChannel().tryLock(); |