Package chemaxon.checkers
Class StructureCheck
java.lang.Object
chemaxon.checkers.StructureCheck
This class contains the command line interface for running inner
StructureChecker
and StructureFixer
instances.- Since:
- Marvin 5.4
-
Constructor Summary
ConstructorDescriptionCreates a new structures checker console, sets the logging on null stream. -
Method Summary
Modifier and TypeMethodDescriptionchemaxon.checkers.logger.TemplateBasedLogger
Gets the reporter used by the check procedure.boolean
Returns whether structure error found in the input files.static void
Standard JAVA Main function which delegates the run mechanism to therun(String[])
method.void
This method runs the command line parameterized by the args array ofString
-
Constructor Details
-
StructureCheck
public StructureCheck()Creates a new structures checker console, sets the logging on null stream.
-
-
Method Details
-
main
Standard JAVA Main function which delegates the run mechanism to therun(String[])
method.- Parameters:
args
- the argument list of main function
-
run
This method runs the command line parameterized by the args array ofString
- Parameters:
args
- this array ofString
contains the arguments of the command line tool
-
isErrorOccurred
public boolean isErrorOccurred()Returns whether structure error found in the input files.- Returns:
- true if structure error found, false otherwise.
-
getReporter
public chemaxon.checkers.logger.TemplateBasedLogger getReporter()Gets the reporter used by the check procedure.- Returns:
- the reporter used by the check procedure.
-