Package chemaxon.fixers
Class StructureFixerFactory
- java.lang.Object
-
- chemaxon.fixers.StructureFixerFactory
-
@Deprecated @PublicAPI public class StructureFixerFactory extends Object
Deprecated.useCheckerFixerFactory
insteadThis is a factory class providing functionality of creatingStructureFixer
instances by name.- Since:
- Marvin 5.3
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIXERFACTORYCONFIG_XML
Deprecated.default fixer configuration file name
-
Constructor Summary
Constructors Constructor Description StructureFixerFactory()
Deprecated.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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StructureFixer
getFixer(String fixerId)
Deprecated.This method returns aStructureFixer
instance identified by fixerId parametersList<StructureFixer>
getFixers()
Deprecated.This method returns allStructureFixer
instances available by the current configurationvoid
reload()
Deprecated.Forces reload of configuration on next fixer list request.static void
reloadDefaults()
Deprecated.Forces reload of factory defaults.
-
-
-
Field Detail
-
FIXERFACTORYCONFIG_XML
public static final String FIXERFACTORYCONFIG_XML
Deprecated.default fixer configuration file name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
public StructureFixerFactory(String path)
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
public StructureFixerFactory(String path, String externalPath)
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
public StructureFixerFactory(InputStream internalConfigStream, InputStream externalConfigStream)
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 Detail
-
getFixer
public StructureFixer getFixer(String fixerId)
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
public List<StructureFixer> 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
-
-