www.codespeedy.com/how-to-read-file-from-url-in-java/
1 Users
0 Comments
1 Highlights
0 Notes
Tags
Top Highlights
URL url = new URL("http://domain.com/file.txt"); BufferedReader read = new BufferedReader( new InputStreamReader(url.openStream())); String i; while ((i = read.readLine()) != null) System.out.println(i); read.close();
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.