in src/main/java/org/apache/sling/commons/jcr/file/internal/JcrFileSystemProvider.java [161:170]
public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException {
logger.info("newByteChannel");
try {
final Node node = PathUtil.toNode(path);
return new JcrFileChannel(node);
} catch (Exception e) {
logger.error(e.getMessage(), e);
throw new IOException(e);
}
}