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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.default fixer configuration file name -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.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 aStructureFixerinstance identified by fixerId parametersDeprecated.This method returns allStructureFixerinstances available by the current configurationvoidreload()Deprecated.Forces reload of configuration on next fixer list request.static voidDeprecated.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 availableStructureFixerclasses 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 aStructureFixerinstance identified by fixerId parameters- Parameters:
fixerId- aStringobject which is the unique id of theStructureFixerclass- Returns:
- a
StructureFixerinstance if there is any identified by the fixerName parameter, null otherwise
-
getFixers
Deprecated.This method returns allStructureFixerinstances available by the current configuration- Returns:
- all
StructureFixerinstances 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
-
CheckerFixerFactoryinstead