public class ActionStringBasedConfigurationReader extends Object implements ConfigurationReader
ConfigurationReader
for parsing action stringsDEFAULT_CHECKERS_CONFIG_PATH, DEFAULT_USER_CHECKER_FILENAME, USER_CHECKERS_CONFIG_PATH
Constructor and Description |
---|
ActionStringBasedConfigurationReader(String configString)
Default constructor
|
ActionStringBasedConfigurationReader(String configString,
chemaxon.structurechecker.factory.CheckerFixerFactory checkerFixerFactory)
Constructor with custom checker factory
|
ActionStringBasedConfigurationReader(String configString,
StructureCheckerFactory checkerFactory,
StructureFixerFactory fixerFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<StructureChecker> |
getCheckerList() |
Map<StructureCheckerErrorType,StructureFixer> |
getErrorTypeDefaultFixerMap() |
public ActionStringBasedConfigurationReader(String configString)
configString
- a String
which contains the configurations described
in action string@Deprecated public ActionStringBasedConfigurationReader(String configString, StructureCheckerFactory checkerFactory, StructureFixerFactory fixerFactory)
ActionStringBasedConfigurationReader(String, CheckerFixerFactory)
insteadconfigString
- a String
which contains the configurations described
in action stringcheckerFactory
- a custom StructureCheckerFactory
which gives the
possibility for this instance to be able to recognize
configuration contains custom implemented
StructureChecker
instancesfixerFactory
- a custom StructureFixerFactory
which gives the
possibility for this instance to be able to recognize
configuration contains custom implemented
StructureFixer
instancespublic ActionStringBasedConfigurationReader(String configString, chemaxon.structurechecker.factory.CheckerFixerFactory checkerFixerFactory)
configString
- a String
which contains the configurations described
in action stringcheckerFixerFactory
- a custom CheckerFixerFactory
which gives the
possibility for this instance to be able to recognize
configuration contains custom implemented
StructureChecker
and StructureFixer
instancespublic List<StructureChecker> getCheckerList()
getCheckerList
in interface ConfigurationReader
List
of StructureChecker
instances which can be run by a CheckerRunner
instancepublic Map<StructureCheckerErrorType,StructureFixer> getErrorTypeDefaultFixerMap()
getErrorTypeDefaultFixerMap
in interface ConfigurationReader
Map
which contains the association between StructureCheckerErrorType
and StructureFixer
instances