Can BufferedReader (Java) read next line without moving the pointer?
<p><br>
I am trying to read next next line without moving the pointer, is that possible?  </p>

<pre><code>BufferedReader buf = new BufferedReader(new InputStreamReader(fileIS));

while ((readString = buf.readLine()) != null) {
}
</code></pre>

<p>the While will read line by line as i want, but i need to write the next line of the current line.</p>

<p>it is possible?</p>

<p>my file contain Http request data, the first line is the GET request,<br>
in the second line the Host name, i need to pull out the Host before the GET to be able to connect it together.<br>
Host/+the GET url,  </p>

<pre><code>GET /logos/2011/family10-hp.jpg HTTP/1.1  
Host: www.google.com  
Accept-Encoding: gzip  
</code></pre>

<p>Thanks.</p>
