code: public FileChannel getChannel() {
          synchronized (this) {
              if (channel == null) {
                  channel = NioUtils.newFileChannel(this, fd, O_RDONLY);
              }
              return channel;
          }
      }
docs: Returns a read-only {@link FileChannel} that shares its position with
  this stream.