mcgui
Class SetupParser

java.lang.Object
  extended by mcgui.SetupParser

public class SetupParser
extends java.lang.Object

Class that provides functions for parsing a setup file


Constructor Summary
SetupParser()
           
 
Method Summary
static java.util.ArrayList<java.lang.String[]> parseFile(java.lang.String fname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupParser

public SetupParser()
Method Detail

parseFile

public static java.util.ArrayList<java.lang.String[]> parseFile(java.lang.String fname)
                                                         throws java.io.IOException
Parameters:
fname - The filename of the file that includes the setup information
Returns:
An ArrayList with, for each line of the file, an array of Strings with the elements that were ':'-separated on that line.
Throws:
java.io.IOException