title: How change the default separator of opencsv?
body: <p>First of all, hello and sorry for the beginner question but I already saw the documentation and tutorials but I can't make it work on my code. Maybe I'm making a little mistake but I can't catch it.</p>
  <p><em>I'm using the latest version of opencsv in a maven project.</em> So I need to make a .csv file and for that I use:</p>
  <pre><code>try (CSVWriter writer = new CSVWriter(new FileWriter(&quot;file.csv&quot;, true)) {
      /* code
  }
  </code></pre>
  <p>And everything works fine, but I need to use a diferent separator, so I try with:</p>
  <pre><code>try (CSVWriter writer = new CSVWriter(new FileWriter(&quot;file.csv&quot;, true), '-') {
      /* code
  }
  </code></pre>
  <p>But appears <strong>Cannot resolve constructor 'CSVWriter(java.io.FileWriter, char)'</strong> in IntelliJ, when in the documentation says <a href="https://i.stack.imgur.com/WQ4xA.png" rel="nofollow noreferrer">opencsv documentation</a></p>
  <p>Any idea on how fix it? (Sorry for my english, I'm not native speaker).</p>