×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Валерий Ишутин
Added: Jul 31, 2014 6:31 PM
Views: 34
  1. String tempString, message;
  2. FileReader accountDetailsReader = new FileReader("./file.txt");
  3. BufferedReader accountDetailsBufferedReader = new BufferedReader(accountDetailsReader);
  4. while((tempString = accountDetailsBufferedReader.readLine()) != null) {
  5.     message += tempString + "\n";
  6. }