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