* \r
* @return Response data object based on the Pazpar2 service response\r
*/\r
- public ResponseDataObject runWith(String... parameters) {\r
- for (String parameter : parameters) {\r
- StringTokenizer tokenizer = new StringTokenizer(parameter,"=");\r
+ public ResponseDataObject runWith(String parameters) {\r
+ StringTokenizer expressions = new StringTokenizer(parameters,";");\r
+ while (expressions.hasMoreTokens()) {\r
+ String expression = expressions.nextToken();\r
+ StringTokenizer tokenizer = new StringTokenizer(expression,"=");\r
String name = (String) tokenizer.nextElement();\r
String value = (String) tokenizer.nextElement();\r
CommandParameter commandParameter = new CommandParameter(name,"=",value);\r