File Input/Output
<p>I've got a question about reading from a File in Java, for my assignment I have a text file that's setup similar to this:</p>

<ol>
<li>Parameters for a multidimensional array, String
2.</li>
<li>Text to process.</li>
</ol>

<p>The first line contains the numbers for creating an array, and as well as a String, then there is a whitespace line, and line number three to row (One of the parameters in the first line for the amount of rows in the array) contains things to add into the array.</p>

<p><a href="http://gyazo.com/acbf60cd36b423b0882a0995c98b9ffe.png?1361834494" rel="nofollow">Example</a></p>

<p>Anyone have any pointers on how I should go about this? I don't need the code itself, just an idea on how to do it.</p>

<p>EDIT: My method so far:</p>

<pre><code>    public void fileIO(){
    BufferedReader reader;
    String inputLine;

    try{
        reader = new BufferedReader(new FileReader("test.txt"));

        while((inputLine = reader.readLine()) != null){

        }
    }catch (IOException e){
        System.out.println(e);
    }
}
</code></pre>
