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