public URLUtils()
public static String read(URL url, int connectTimeout, int readTimeout, int sizeLimit) throws IOException
url - The URL content. Must not be null.connectTimeout - The URL connection timeout, in milliseconds.
If zero no (infinite) timeout.readTimeout - The URL read timeout, in milliseconds. If zero
no (infinite) timeout.sizeLimit - The read size limit, in bytes. If negative no
limit.IOException - If the URL content couldn't be read.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.