public final class StructureCheck extends Object
StructureChecker
and StructureFixer
instances.Constructor and Description |
---|
StructureCheck()
Creates a new structures checker console, sets the logging on null
stream.
|
Modifier and Type | Method and Description |
---|---|
chemaxon.checkers.logger.TemplateBasedLogger |
getReporter()
Gets the reporter used by the check procedure.
|
protected boolean |
isCheckerActionHelpPrinting()
Returns whether the checker action help text needs to be printed.
|
protected boolean |
isDone()
This function returns true when command line process finished without any
error
|
boolean |
isErrorOccured()
Returns whether structure error found in the input files.
|
protected boolean |
isFixerActionHelpPrinting()
Returns whether the fixer action help text needs to be printed.
|
protected boolean |
isFixing()
Returns whether structure checker needs to fix invalid structures
automatically.
|
protected boolean |
isHelpPrinting()
Returns whether the help text needs to be printed.
|
protected boolean |
isLogging()
Returns whether there is a log file available for logging.
|
protected boolean |
isReporting()
Returns whether help text is printed.
|
static void |
main(String[] args)
Standard JAVA Main function which delegates the run mechanism to the
run(String[]) method. |
void |
run(String[] args)
This method runs the command line parameterized by the args array of
String |
public StructureCheck()
public static void main(String[] args)
run(String[])
method.args
- the argument list of main functionpublic void run(String[] args)
String
args
- this array of String
contains the arguments of the
command line toolprotected boolean isFixing()
protected boolean isHelpPrinting()
protected boolean isCheckerActionHelpPrinting()
protected boolean isFixerActionHelpPrinting()
protected boolean isReporting()
protected boolean isDone()
protected boolean isLogging()
public boolean isErrorOccured()
public chemaxon.checkers.logger.TemplateBasedLogger getReporter()