Created
October 10, 2011 18:44
-
-
Save fabiorecife/1276145 to your computer and use it in GitHub Desktop.
Load a file line by line
This file contains hidden or 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
| File file = new File("./src_teste/JsonFromXmlAjaxResponseTest01.xml"); | |
| BufferedReader buf = new BufferedReader(new InputStreamReader(new FileInputStream(file))); | |
| String line ; | |
| StringBuilder build = new StringBuilder(); | |
| while ((line = buf.readLine()) != null) { | |
| build.append(line); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment