Package chemaxon.checkers
Class OCRErrorChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.OCRErrorChecker
- All Implemented Interfaces:
StructureChecker
,chemaxon.license.Licensable
,PropertyChangeListener
,Cloneable
,EventListener
OCRErrorChecker detects structures which do not look like chemical structures. Optical
scanning tools sometimes convert general graphics (arrows, tables, brackets) to molecule files.
This checker checks 2D layouts only.
This checker checks 2D layouts only.
- Since:
- Marvin 5.4
-
Field Summary
Fields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupport
Fields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected StructureCheckerResult
This method contains the current checking mechanism.Methods inherited from class chemaxon.checkers.AbstractStructureChecker
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
-
Constructor Details
-
OCRErrorChecker
public OCRErrorChecker()Default constructor
-
-
Method Details
-
check1
Description copied from class:AbstractStructureChecker
This method contains the current checking mechanism.- Specified by:
check1
in classAbstractStructureChecker
- Parameters:
molecule
- theMolecule
instance to be checked for problems- Returns:
- a
StructureCheckerResult
which represents the problem or null if no problem found
-