Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File sampleFile = new File(sampFilePath);
- FileReader sampReader = new FileReader(sampleFile);
- BufferedReader br = new BufferedReader(sampReader);
- String Sampledata=null;
- while(br.readLine( ) != null)
- {
- Sampledata = br.readLine( );
- System.out.println(Sampledata);
- }
- sampReader.close();
- String sampJsonResponse = Sampledata;
Add Comment
Please, Sign In to add comment