CheckerFixerFactory
instead@Deprecated public final class StructureCheckerFactory extends Object
StructureChecker
instances by name with the given parameters.getInstance()
or
getInstance(String, String)
instead of creating multiple factory
instances is a safe way to load default and external checkers.Modifier and Type | Field and Description |
---|---|
static String |
CHECKERCONFIG_XML
Deprecated.
ChemAxon's default checker configuration file name
|
static String |
DEFAULT
Deprecated.
default factory id
|
static String |
DEFAULT_CONFIGURATION_PATH
Deprecated.
ChemAxon's default checker configuration path
|
static String |
DEFAULT_CONFIGURATION_SCHEMA
Deprecated.
ChemAxon's default checker configuration file schema path
|
static String |
USER_DEFINED_CHECKERCONFIG_XML
Deprecated.
Users checker configuration file name
|
Constructor and Description |
---|
StructureCheckerFactory()
Deprecated.
Please consider using
getInstance() instead of
calling this constructor directly. Default constructor. Default configurations will be read. |
StructureCheckerFactory(InputStream internalCheckerConfigStream,
InputStream externalCheckerConfigStream)
Deprecated.
Please consider using
getInstance(String, String)
instead of calling this constructor directly. With this constructor inner and external configuration location can be defined. |
StructureCheckerFactory(String path,
String externalPath)
Deprecated.
Please consider using
getInstance(String, String)
instead of calling this constructor directly. With this constructor inner and external configuration location can be defined. |
Modifier and Type | Method and Description |
---|---|
List<StructureChecker> |
getAvailableCheckers()
Deprecated.
Returns a list of checkers available
|
StructureChecker |
getChecker(String checkerId,
Map<String,String> params)
Deprecated.
This method creates a requested (type represented in checkerId)
StructureChecker instance with the give parameters
|
static StructureCheckerFactory |
getInstance()
Deprecated.
Returns the default factory instance.
|
static StructureCheckerFactory |
getInstance(String path,
String externalPath)
Deprecated.
Returns the factory instance for specified paths.
|
static void |
reloadDefaultMap()
Deprecated.
Forces reload of factory data.
|
public static final String DEFAULT
public static final String CHECKERCONFIG_XML
public static final String USER_DEFINED_CHECKERCONFIG_XML
public static final String DEFAULT_CONFIGURATION_PATH
public static final String DEFAULT_CONFIGURATION_SCHEMA
@Deprecated public StructureCheckerFactory()
getInstance()
instead of
calling this constructor directly. @Deprecated public StructureCheckerFactory(String path, String externalPath)
getInstance(String, String)
instead of calling this constructor directly. path
- the location of the configuration xml for the inner checker
classesexternalPath
- the location of the configuration xml for the external checker
classes@Deprecated public StructureCheckerFactory(InputStream internalCheckerConfigStream, InputStream externalCheckerConfigStream)
getInstance(String, String)
instead of calling this constructor directly. internalCheckerConfigStream
- the stream containing the configuration xml for the inner
checker classesexternalCheckerConfigStream
- the stream containing the configuration xml for the external
checker classespublic List<StructureChecker> getAvailableCheckers()
public StructureChecker getChecker(String checkerId, Map<String,String> params)
checkerId
- the Id of the checkerparams
- is a Map
contains String
pairs representing a
property bag should be passed to the checker instanceStructureChecker
instancepublic static void reloadDefaultMap()
public static StructureCheckerFactory getInstance()
public static StructureCheckerFactory getInstance(String path, String externalPath)
path
- the internal checker path (resource path)externalPath
- the external checker path (file path)