public class WebQueryExecuter extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | NEWLINEThe Constant NEWLINE. | 
| static String | REQ_FILESJSON key carrying the files. | 
| static String | REQ_WANTJSON key carrying the requests. | 
| static Pattern | XML_PATTERNPattern to distinguish xml files from URLs. | 
| Constructor and Description | 
|---|
| WebQueryExecuter()Instantiates a new web query executer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | executeQuery(org.json.simple.JSONObject jObj,
            org.json.simple.JSONObject toReturn,
            org.json.simple.JSONArray err)Execute a query. | 
| String | usage()Prepares the usage including an example. | 
public static final String REQ_FILES
public static final String REQ_WANT
public static final Pattern XML_PATTERN
public static final String NEWLINE
public WebQueryExecuter()
public void executeQuery(org.json.simple.JSONObject jObj,
                         org.json.simple.JSONObject toReturn,
                         org.json.simple.JSONArray err)
                  throws Exception
jObj - the JSON object containing the requesttoReturn - the object to store the resultserr - the object to store errorsException - the exceptionpublic final String usage()
Copyright © 2016. All rights reserved.