title: How do I feed an InputStream into a CSVReader?
body: <p>I want to convert <code>InputStream</code> into <code>CSVReader</code>. When I am using the code below </p>
  
  <pre><code>CSVReader reader = new CSVReader(new FileReader(ADDRESS_FILE));
  </code></pre>
  
  <p>it is working fine, but, if I fetch the file from class path, then this code is not working. </p>
  
  <p>How do I convert a <code>InputStream</code> to <code>CSVReader</code>?</p>
  
  <p>This is not working cause <code>InputStream</code> is not a string type:</p>
  
  <pre><code>InputStream input = ImportCsv.class.getResourceAsStream("/dataUpload/staff.csv");
  CSVReader reader = new CSVReader(new FileReader(input));
  </code></pre>