Package chemaxon.fixers
Class StructureFixerFactory
java.lang.Object
chemaxon.fixers.StructureFixerFactory
Deprecated.
This is a factory class providing functionality of creating
StructureFixer
instances by name.- Since:
- Marvin 5.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.default fixer configuration file name -
Constructor Summary
ConstructorDescriptionDeprecated.Default constructor.StructureFixerFactory
(InputStream internalConfigStream, InputStream externalConfigStream) Deprecated.Parameterized constructor.StructureFixerFactory
(String path) Deprecated.Parameterized constructor.StructureFixerFactory
(String path, String externalPath) Deprecated.Parameterized constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This method returns aStructureFixer
instance identified by fixerId parametersDeprecated.This method returns allStructureFixer
instances available by the current configurationvoid
reload()
Deprecated.Forces reload of configuration on next fixer list request.static void
Deprecated.Forces reload of factory defaults.
-
Field Details
-
FIXERFACTORYCONFIG_XML
Deprecated.default fixer configuration file name- See Also:
-
-
Constructor Details
-
StructureFixerFactory
public StructureFixerFactory()Deprecated.Default constructor. At this case the default built-in configuration files will be used to discover the availableStructureFixer
classes and their properties. -
StructureFixerFactory
Deprecated.Parameterized constructor. The given string represents the path of the xml configuration files which contains the actual list of the fixer classes.- Parameters:
path
- is the path of the internal fixer configuration
-
StructureFixerFactory
Deprecated.Parameterized constructor. The given string represents the path of the xml configuration files which contains the actual list of the fixer classes.- Parameters:
path
- is the path of the internal fixer configurationexternalPath
- is the path of the external fixer configuration
-
StructureFixerFactory
Deprecated.Parameterized constructor. The given the streams contain the XML configuration which contains the actual lists of the fixer classes.- Parameters:
internalConfigStream
- the stream containing the internal fixer configurationexternalConfigStream
- the stream containing the external fixer configuration
-
-
Method Details
-
getFixer
Deprecated.This method returns aStructureFixer
instance identified by fixerId parameters- Parameters:
fixerId
- aString
object which is the unique id of theStructureFixer
class- Returns:
- a
StructureFixer
instance if there is any identified by the fixerName parameter, null otherwise
-
getFixers
Deprecated.This method returns allStructureFixer
instances available by the current configuration- Returns:
- all
StructureFixer
instances available by the current configuration
-
reload
public void reload()Deprecated.Forces reload of configuration on next fixer list request.- Since:
- 5.12
-
reloadDefaults
public static void reloadDefaults()Deprecated.Forces reload of factory defaults.- Since:
- 5.12
-
CheckerFixerFactory
instead