Package chemaxon.standardizer
Class StandardizerActionFactory.Builder
java.lang.Object
chemaxon.standardizer.StandardizerActionFactory.Builder
- Enclosing class:
- StandardizerActionFactory
Builder class for
StandardizerActionFactory
.- Since:
- 6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a standardizer action class descriptor to the factoryvoid
add
(InputStream inputStream) Adds an input stream containing standardizer specifications to be stored by the output factoryvoid
Adds an input stream containing standardizer specifications to be stored by the output factoryvoid
add
(Properties properties) Adds a property map containing properties of standardizer actions to be stored by the output factorybuild()
Builds aStandardizerActionFactory
based on the previously addedInputStream
instances
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
add
Adds an input stream containing standardizer specifications to be stored by the output factory- Parameters:
url
- a URL of an entity containing standardizer specification- Throws:
IOException
-
add
Adds an input stream containing standardizer specifications to be stored by the output factory- Parameters:
inputStream
- an input stream containing standardizer specifications
-
add
Adds a property map containing properties of standardizer actions to be stored by the output factory- Parameters:
properties
- an input stream containing properties of standardizer actions
-
add
Adds a standardizer action class descriptor to the factory- Parameters:
descriptor
- the descriptor of the standardizer action class
-
build
Builds aStandardizerActionFactory
based on the previously addedInputStream
instances- Returns:
- the built factory
-