Method retrieveWithTimeout: Method to retrieve file from provided URL with a given timeout.
@param url The URL to retrieve.
@param timeout In milliseconds, how long to wait before giving up on making a connection and timing out
@exception IOException If a communication error occurs.
@return The contents of the page requested, in Stringform.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.