Reading a HTTP remote file and save it to the local disk is as easy as:
org.apache.commons.io.FileUtils.copyURLToFile(new URL("http://path/to.file"), new File("localfile.txt"));
But I'd like to read a file without having to save it to the disk, just keep it in memory and read from there.
Is that possible?