testPackage
Class ConfigFileReader

java.lang.Object
  extended by testPackage.ConfigFileReader

public class ConfigFileReader
extends java.lang.Object

This class is intended to read ".vhd" config files and therefore provides a method "read()".

Author:
Daniel Obermueller 9th May 2009

Constructor Summary
ConfigFileReader(java.lang.String path)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.util.ArrayList<java.lang.Object[]> read()
          This method is reading a ".vhd" config file and returns the configuration as an ArrayList, whereas the Object[] contains all required information of a constant.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigFileReader

public ConfigFileReader(java.lang.String path)
                 throws java.lang.Exception
Parameters:
String - path
Throws:
java.lang.Exception
Method Detail

read

public java.util.ArrayList<java.lang.Object[]> read()
                                             throws java.lang.Exception
This method is reading a ".vhd" config file and returns the configuration as an ArrayList, whereas the Object[] contains all required information of a constant.

Returns:
ArrayList
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
String[] - args
Throws:
java.lang.Exception