Java - Read CSV file from a stream Dec 18, 2017 loginacrocontext, email, display_nameacrocontext, first_name, last_name 1 2 3 4 5 6 7 try (final CSVReader reader = new CSVReader(new BufferedReader(new InputStreamReader(inputStream)))) { String[] line = null; while ((line = reader.readNext()) != null) { } } catch (Exception e) { ... }