Guest User

Untitled

a guest
Dec 16th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. File sampleFile = new File(sampFilePath);
  2. FileReader sampReader = new FileReader(sampleFile);
  3. BufferedReader br = new BufferedReader(sampReader);
  4. String Sampledata=null;
  5. while(br.readLine( ) != null)
  6. {
  7. Sampledata = br.readLine( );
  8. System.out.println(Sampledata);
  9. }
  10. sampReader.close();
  11. String sampJsonResponse = Sampledata;
Add Comment
Please, Sign In to add comment