read url data specific line java
<p>I need to read lines in URL html page from specific line.</p>

<p>For now, I have the following code:</p>

<pre><code> u = new URL("http://s.ll/message/" + counter);

 is = u.openStream(); // throws an IOException

 dis = new DataInputStream(new BufferedInputStream(is));

 while ((s = dis.readLine()) != null) {
   if (s.contains('%')
      ...
 }
</code></pre>

<p>I know that this content will not be before the 50th line.</p>

<p>How can I read just from this line?</p>

<p>And is it the quickest way to read URLs?</p>
