- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ChannelFactory
only for testing until we have a disk-full FileSystem
-
Method Summary
Modifier and Type |
Method |
Description |
default java.nio.channels.FileChannel |
open(java.nio.file.Path path) |
|
java.nio.channels.FileChannel |
open(java.nio.file.Path path,
java.nio.file.OpenOption... options) |
|
-
Method Details
-
default java.nio.channels.FileChannel open(java.nio.file.Path path)
throws java.io.IOException
- Throws:
java.io.IOException
-
java.nio.channels.FileChannel open(java.nio.file.Path path,
java.nio.file.OpenOption... options)
throws java.io.IOException
- Throws:
java.io.IOException