code: @Override
      public WritableByteChannel putChannel() throws IOException {
          // Error condition checking in putStream (directory, unknown file, etc.)
          FileOutputStream fos = (FileOutputStream) putStream();
  
          return fos.getChannel();
      }
docs: {@inheritDoc}