how to read text file orderly in Java? : <p>I know how to read a text file, but I don't know how to read it orderly. For instance, how to read this" Tosca|Giacomo Puccini|1900|Rome|Puccini’s melodrama about a volatile diva, a sadistic police chief, and an idealistic artist|<a href="https://www.youtube.com/watch?v=rkMx0CLWeRQ" rel="nofollow noreferrer">https://www.youtube.com/watch?v=rkMx0CLWeRQ</a>"?     Different information is separated by | , and I want them to display on different JLabel. </p>

<p>I did this</p>

<pre><code>while((line = bufferedReader.readLine()) != null) {
            System.out.println(line);
        }   
</code></pre>

<p>What else should I do in the while loop?</p>
