title: How to replace a specific row from a CSV file?
body: <p>Is it possible to access a specific row in a CSV file and replace a specific field in it? E.g. like in this pseudo code:</p>
  
  <pre><code>Row row = csvFile.getRow(123);
  row.getField(2).set("someString");
  </code></pre>
  
  <p>Tried <a href="https://commons.apache.org/proper/commons-csv/" rel="nofollow">Apache Commons CSV</a> and <a href="http://opencsv.sourceforge.net/" rel="nofollow">OpenCSV</a>, but can't figure out how to do it with them. Only way I can think of is to iterate through a file, store everything in a new object and create a file, but that doesn't seem like a good way.</p>
  
  <p>Thanks for any suggestion!</p>