Class CheckerFixerFactory.Builder
java.lang.Object
chemaxon.structurechecker.factory.CheckerFixerFactory.Builder
- Enclosing class:
- CheckerFixerFactory
Builder class for
CheckerFixerFactory
.- Since:
- 5.12
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(CheckerFixerFactory.CheckerClassDescriptor descriptor) Adds a checker class descriptor to the factoryvoid
add
(CheckerFixerFactory.FixerClassDescriptor descriptor) Adds a fixer class descriptor to the factoryvoid
add
(InputStream inputStream) Adds an input stream containing checker and fixer specifications to be stored by the output factoryvoid
Adds an input stream containing checker and fixer specifications to be stored by the output factoryvoid
add
(Properties properties) Adds a property map containing properties of checkers and fixers to be stored by the output factorybuild()
void
merge
(CheckerFixerFactory other) Adds all checkers, fixers and properties registered in the given other factory instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
add
Adds an input stream containing checker and fixer specifications to be stored by the output factory- Parameters:
url
- a URL of an entity containing checker and fixer specification- Throws:
IOException
-
add
Adds an input stream containing checker and fixer specifications to be stored by the output factory- Parameters:
inputStream
- an input stream containing checker and fixer specifications
-
add
Adds a property map containing properties of checkers and fixers to be stored by the output factory- Parameters:
properties
- an input stream containing properties of checkers and fixers
-
add
Adds a checker class descriptor to the factory- Parameters:
descriptor
- the descriptor of the checker class
-
add
Adds a fixer class descriptor to the factory- Parameters:
descriptor
- the descriptor of the fixer class
-
merge
Adds all checkers, fixers and properties registered in the given other factory instance. Warning: This method may be used outside ccl as well!- Parameters:
other
- the factory whose checkers, fixers and properties should be added
-
build
- Returns:
- the built factory
-