Created
May 16, 2016 18:16
-
-
Save GuiSim/a7170a69440383721a1d3b34c9922b2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> rows = Files.readAllLines(Paths.get(fileName), StandardCharsets.UTF_8); | |
String header = rows.remove(0); | |
// You can then continue with your application logic | |
int headerColumnCount = header.split(Constants.SEPERATOR_ESCAPED).length; | |
for (String row : rows) { | |
System.out.println(row); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment