public class parseParameters
extends java.lang.Object
Constructor and Description |
---|
parseParameters()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithmName()
It returns the name of the algorithm
|
java.lang.String |
getInputFile(int pos)
It returns the input file in the position "pos"
|
java.lang.String[] |
getInputFiles()
It returns all the input files
|
java.lang.String |
getOutputFile(int pos)
It returns the output file in the position "pos"
|
java.lang.String[] |
getOutputFiles()
It returns all the output files
|
java.lang.String |
getParameter(int pos)
It returns the parameter in the position "pos"
|
java.lang.String[] |
getParameters()
It returns all the parameters as an array of Strings
|
java.lang.String |
getTransactionsInputFile()
It returns the name of the transactions input file
|
void |
parseConfigurationFile(java.lang.String fileName)
It obtains all the necesary information from the configuration file.
|
public void parseConfigurationFile(java.lang.String fileName)
fileName
- Name of the configuration filepublic java.lang.String getTransactionsInputFile()
It returns the name of the transactions input file
public java.lang.String getAlgorithmName()
It returns the name of the algorithm
public java.lang.String[] getParameters()
It returns all the parameters as an array of Strings
public java.lang.String getParameter(int pos)
It returns the parameter in the position "pos"
pos
- int Position of the parameterpublic java.lang.String[] getInputFiles()
It returns all the input files
public java.lang.String getInputFile(int pos)
It returns the input file in the position "pos"
pos
- int Position of the input filepublic java.lang.String[] getOutputFiles()
It returns all the output files
public java.lang.String getOutputFile(int pos)
It returns the output file in the position "pos"
pos
- int Position of the output file