writer.write(value);
if (value != null) { writer.write(value); }
   public void addValue(String fieldName, String value)   {      try      {         writer.write(value);         writer.write(",");      }      catch (IOException e)      {         log.error("Failed to write field", e);      }   }