public class ReporterMethodFactory extends ExperimentObject
Modifier and Type | Method and Description |
---|---|
static ReporterMethodFactory |
getInstance()
Constructor for the factory.
|
ArrayList<ReporterMethod> |
getMethods()
Returns the methods implemented in the factory.
|
String[] |
getMethodsNames()
Returns the name of the methods present in the factory.
|
void |
importMethods(File aFile)
Imports the methods from an XML file.
|
void |
saveFile(File aFile)
Save to file.
|
addUrParam, getParameterKey, getUrParam
public static ReporterMethodFactory getInstance()
public ArrayList<ReporterMethod> getMethods()
public String[] getMethodsNames()
public void saveFile(File aFile)
aFile
- the file to save topublic void importMethods(File aFile) throws IOException, org.xmlpull.v1.XmlPullParserException
aFile
- the XML fileIOException
- exception thrown whenever an error occurred while
reading the fileorg.xmlpull.v1.XmlPullParserException
- exception thrown whenever an error
occurred while parsing the XML fileCopyright © 2013. All Rights Reserved.