These utility methods are provided by the IOUtils:
Given methods work at:
Bytes would be read a URL by the help of this code and will make them printed.
Java Code: This is the code to explain IOUtils
InputStream in = new URL( "http://jakarta.apache.org" ).openStream();
InputStreamReader inR = new InputStreamReader( in