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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a standardizer action class descriptor to the factoryvoidadd(InputStream inputStream) Adds an input stream containing standardizer specifications to be stored by the output factoryvoidAdds an input stream containing standardizer specifications to be stored by the output factoryvoidadd(Properties properties) Adds a property map containing properties of standardizer actions to be stored by the output factorybuild()Builds aStandardizerActionFactorybased on the previously addedInputStreaminstances
-
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 aStandardizerActionFactorybased on the previously addedInputStreaminstances- Returns:
- the built factory
-