Getting the approximated time of a web page to load in Java
<p>In a programme I am writing in Java, I generate random (existing) addresses. For each address, I want to calculate something.
I don't want to do this calculation if the page is very big, because then it would take much time.</p>

<p>So I thought, that if I know approximately how much time it would take to get the information, I could determine whether to operate that calculation, or not.</p>

<p>Preciseness is not important; I wouldn't care if it takes a second more than requested (although I wouldn't want it to exceed around 5-6 seconds).</p>

<p>I am generating articles from Wikipedia, if it helps.</p>

<p>Thank you in advance.</p>
