SyntaxFix
Write A Post
Hire A Developer
Questions
Try:
final InputStream is = new URL("http://wwww.somewebsite.com/a.txt").openStream();