public class StepFactory extends Object
This is currently a singleton class.
Modifier and Type | Method and Description |
---|---|
ProcessingStep |
createStep(String line)
Creates a processing filter from a line of text.
|
ProcessingStep[] |
createSteps(String text)
Creates an array of processing filters from an input string.
|
ObjectFactory<ProcessingFilter> |
getFilterFactory()
Returns the factory which can create filters from their nicknames.
|
static StepFactory |
getInstance()
Returns the singleton instance of this class.
|
public ObjectFactory<ProcessingFilter> getFilterFactory()
public ProcessingStep[] createSteps(String text) throws TaskException
text
- input stringTaskException
public ProcessingStep createStep(String line) throws TaskException
<filter-name> <filter-args>
line
- line of text representing filter commandsline
contains no tokensTaskException
public static StepFactory getInstance()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.