Class StructureCheck

java.lang.Object
chemaxon.checkers.StructureCheck

@PublicAPI public final class StructureCheck extends Object
This class contains the command line interface for running inner StructureChecker and StructureFixer instances.
Since:
Marvin 5.4
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new structures checker console, sets the logging on null stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    chemaxon.checkers.logger.TemplateBasedLogger
    Gets the reporter used by the check procedure.
    boolean
    Returns whether structure error found in the input files.
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StructureCheck

      public StructureCheck()
      Creates a new structures checker console, sets the logging on null stream.
  • Method Details

    • main

      public static void main(String[] args)
      Standard JAVA Main function which delegates the run mechanism to the run(String[]) method.
      Parameters:
      args - the argument list of main function
    • run

      public void run(String[] args)
      This method runs the command line parameterized by the args array of String
      Parameters:
      args - this array of String 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.