Guest User

Untitled

a guest
Nov 18th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. String LineFile = new String ();
  2.  
  3. File fileCSV = new File(LocalFile.getText());
  4.  
  5. try
  6.  
  7. {
  8. Scanner reader = new Scanner(fileCSV);
  9.  
  10. while (reader.hasNext())
  11.  
  12. {
  13.  
  14. LineFile = reader.nextLine();
  15.  
  16.  
  17. String numb[] = LineFile.split(",");
  18. System.out.println(LineFile);
  19.  
  20. }
  21.  
  22.  
  23.  
  24. }
  25.  
  26.  
  27.  
  28. catch (FileNotFoundException e)
  29.  
  30. {
  31.  
  32. }
Add Comment
Please, Sign In to add comment