code: public static void write(final BedRecord record, final PrintWriter writer) {
          checkNotNull(record);
          checkNotNull(writer);
          writer.println(record.toString());
      }
docs: Write the specified BED record with the specified print writer.
  
  @param record BED record to write, must not be null
  @param writer print writer to write BED record with, must not be null