code: public void writeFields(ArrayList<String> fields) throws IOException {
  
  		if (newWriter) {
  			this.newWriter = false;
  		} else {
  			this.newLine();
  		}
  		Iterator<String> si = fields.iterator();
  		while (si.hasNext()) {
  			this.writeField(si.next());
  		}
  	}
docs: Writes a line of fields to the writer. A new line is automatically added if
  beyond the first call to this method. This is a convenience method.
  
  @param fields fields to output
  @throws IOException on general I/O error