public class ReadCSV
extends java.lang.Object
Constructor and Description |
---|
ReadCSV(java.lang.String pathOfFile)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBehaviorValuesName() |
float |
getFloatSlowDown() |
float |
getFloatStartSlowDown() |
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.Float>> |
getFormattedCSV() |
java.lang.String |
getFunctionBehaviorName() |
int |
getIntSlowDown() |
int |
getIntStartSlowDown() |
static java.lang.String[] |
getResourceListing(java.lang.String path)
Returns an array of filenames from the resource path specified.
|
public ReadCSV(java.lang.String pathOfFile)
pathOfFile
- Path to the CSV filepublic java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.Float>> getFormattedCSV() throws java.io.IOException
java.io.IOException
- If the file could not be successfully opened and
parsedpublic java.lang.String getBehaviorValuesName() throws java.io.IOException
java.io.IOException
public int getIntSlowDown() throws java.io.IOException
java.io.IOException
public int getIntStartSlowDown() throws java.io.IOException
java.io.IOException
public java.lang.String getFunctionBehaviorName() throws java.io.IOException
java.io.IOException
public float getFloatSlowDown() throws java.io.IOException
java.io.IOException
public float getFloatStartSlowDown() throws java.io.IOException
java.io.IOException
public static java.lang.String[] getResourceListing(java.lang.String path) throws java.net.URISyntaxException, java.io.IOException
the
- path to return the files, ending with "/", no "/" at startjava.net.URISyntaxException
- if the path is not a valid URIjava.io.IOException
- if reading the folder causes problems