public class Executer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REQ_CA |
static String |
REQ_DEBUG |
static String |
REQ_DEBUGG |
static String |
REQ_FILES
The Constant REQ_FILES.
|
static String |
REQ_HELP |
static String |
REQ_INC_ANNO |
static String |
REQ_JSON |
static String |
REQ_OUT |
static String |
REQ_SEP_ANNO |
static String |
REQ_WANT
The Constant REQ_WANT.
|
static String |
REQ_WANT_CELLML
The Constant REQ_WANT_CELLML.
|
static String |
REQ_WANT_COMP_HIERARCHY_DOT
The Constant REQ_WANT_COMP_HIERARCHY_DOT.
|
static String |
REQ_WANT_COMP_HIERARCHY_GRAPHML
The Constant REQ_WANT_COMP_HIERARCHY_GRAPHML.
|
static String |
REQ_WANT_COMP_HIERARCHY_JSON
The Constant REQ_WANT_COMP_HIERARCHY_JSON.
|
static String |
REQ_WANT_DIFF
The Constant REQ_WANT_DIFF.
|
static String |
REQ_WANT_DOCUMENTTYPE
The Constant REQ_WANT_DOCUMENTTYPE.
|
static String |
REQ_WANT_MATCHING_IDS |
static String |
REQ_WANT_META
The Constant REQ_WANT_META.
|
static String |
REQ_WANT_NEGLECT_NAMES |
static String |
REQ_WANT_REACTIONS_DOT
The Constant REQ_WANT_REACTIONS_DOT.
|
static String |
REQ_WANT_REACTIONS_DOT2 |
static String |
REQ_WANT_REACTIONS_GRAPHML
The Constant REQ_WANT_REACTIONS_GRAPHML.
|
static String |
REQ_WANT_REACTIONS_GRAPHML2 |
static String |
REQ_WANT_REACTIONS_JSON
The Constant REQ_WANT_REACTIONS_JSON.
|
static String |
REQ_WANT_REACTIONS_JSON2 |
static String |
REQ_WANT_REGULAR
The Constant REQ_WANT_REGULAR.
|
static String |
REQ_WANT_REPORT_HTML
The Constant REQ_WANT_REPORT_HTML.
|
static String |
REQ_WANT_REPORT_HTML_FP
The Constant REQ_WANT_REPORT_HTML_FP.
|
static String |
REQ_WANT_REPORT_MD
The Constant REQ_WANT_REPORT_MD.
|
static String |
REQ_WANT_REPORT_RST
The Constant REQ_WANT_REPORT_RST.
|
static String |
REQ_WANT_SBML
The Constant REQ_WANT_SBML.
|
static String |
REQ_WANT_SINGLE_COMP_HIERARCHY_DOT
The Constant REQ_WANT_SINGLE_COMP_HIERARCHY_DOT.
|
static String |
REQ_WANT_SINGLE_COMP_HIERARCHY_GRAPHML
The Constant REQ_WANT_SINGLE_COMP_HIERARCHY_GRAPHML.
|
static String |
REQ_WANT_SINGLE_COMP_HIERARCHY_JSON
The Constant REQ_WANT_SINGLE_COMP_HIERARCHY_JSON.
|
static String |
REQ_WANT_SINGLE_FLATTEN
The Constant REQ_WANT_SINGLE_FLATTEN.
|
static String |
REQ_WANT_SINGLE_REACTIONS_DOT
The Constant REQ_WANT_SINGLE_REACTIONS_DOT.
|
static String |
REQ_WANT_SINGLE_REACTIONS_DOT2 |
static String |
REQ_WANT_SINGLE_REACTIONS_GRAPHML
The Constant REQ_WANT_SINGLE_REACTIONS_GRAPHML.
|
static String |
REQ_WANT_SINGLE_REACTIONS_GRAPHML2 |
static String |
REQ_WANT_SINGLE_REACTIONS_JSON
The Constant REQ_WANT_SINGLE_REACTIONS_JSON.
|
static String |
REQ_WANT_SINGLE_REACTIONS_JSON2 |
static String |
REQ_WANT_STRICT_NAMES |
static String |
REQ_XML |
static Pattern |
XML_PATTERN
Pattern to distinguish xml files from URLs.
|
Constructor and Description |
---|
Executer()
Instantiates a new executer.
|
Modifier and Type | Method and Description |
---|---|
void |
executeCompare(String document1,
String document2,
HashMap<String,String> toReturn,
org.apache.commons.cli.CommandLine line,
List<Exception> errors)
Execute compare.
|
void |
executeSingle(String document,
HashMap<String,String> toReturn,
org.apache.commons.cli.CommandLine line,
List<Exception> errors)
Execute single.
|
org.apache.commons.cli.Options |
getOptions() |
static String |
htmlPageEnd() |
static String |
htmlPageStart() |
static String |
result(String s)
Result.
|
public static final Pattern XML_PATTERN
public static final String REQ_FILES
public static final String REQ_WANT
public static final String REQ_WANT_META
public static final String REQ_WANT_DOCUMENTTYPE
public static final String REQ_WANT_DIFF
public static final String REQ_WANT_MATCHING_IDS
public static final String REQ_WANT_NEGLECT_NAMES
public static final String REQ_WANT_STRICT_NAMES
public static final String REQ_WANT_REPORT_MD
public static final String REQ_WANT_REPORT_RST
public static final String REQ_WANT_REPORT_HTML
public static final String REQ_WANT_REPORT_HTML_FP
public static final String REQ_WANT_REACTIONS_GRAPHML
public static final String REQ_WANT_REACTIONS_GRAPHML2
public static final String REQ_WANT_REACTIONS_DOT
public static final String REQ_WANT_REACTIONS_DOT2
public static final String REQ_WANT_REACTIONS_JSON
public static final String REQ_WANT_REACTIONS_JSON2
public static final String REQ_WANT_COMP_HIERARCHY_GRAPHML
public static final String REQ_WANT_COMP_HIERARCHY_DOT
public static final String REQ_WANT_COMP_HIERARCHY_JSON
public static final String REQ_WANT_SBML
public static final String REQ_WANT_CELLML
public static final String REQ_WANT_REGULAR
public static final String REQ_WANT_SINGLE_REACTIONS_GRAPHML
public static final String REQ_WANT_SINGLE_REACTIONS_GRAPHML2
public static final String REQ_WANT_SINGLE_REACTIONS_DOT
public static final String REQ_WANT_SINGLE_REACTIONS_DOT2
public static final String REQ_WANT_SINGLE_REACTIONS_JSON
public static final String REQ_WANT_SINGLE_REACTIONS_JSON2
public static final String REQ_WANT_SINGLE_COMP_HIERARCHY_GRAPHML
public static final String REQ_WANT_SINGLE_COMP_HIERARCHY_DOT
public static final String REQ_WANT_SINGLE_COMP_HIERARCHY_JSON
public static final String REQ_WANT_SINGLE_FLATTEN
public static final String REQ_DEBUG
public static final String REQ_DEBUGG
public static final String REQ_XML
public static final String REQ_INC_ANNO
public static final String REQ_SEP_ANNO
public static final String REQ_JSON
public static final String REQ_CA
public static final String REQ_OUT
public static final String REQ_HELP
public org.apache.commons.cli.Options getOptions()
public void executeSingle(String document, HashMap<String,String> toReturn, org.apache.commons.cli.CommandLine line, List<Exception> errors) throws Exception
document
- the documenttoReturn
- the to returnline
- the lineerrors
- the errorsException
- the exceptionpublic void executeCompare(String document1, String document2, HashMap<String,String> toReturn, org.apache.commons.cli.CommandLine line, List<Exception> errors) throws Exception
document1
- the document1document2
- the document2toReturn
- the to returnline
- the lineerrors
- the errorsException
- the exceptionpublic static String htmlPageStart()
public static String htmlPageEnd()
Copyright © 2016 SEMS project @ University of Rostock. All rights reserved.