|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.filter.StepFactory
public class StepFactory
Factory which can create ProcessingStep objects from strings which represent the filter specifications.
This is currently a singleton class.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ObjectFactory<ProcessingFilter> getFilterFactory()
public ProcessingStep[] createSteps(String text) throws TaskException
text
- input string
TaskException
public ProcessingStep createStep(String line) throws TaskException
<filter-name> <ilter-args>
line
- line of text representing filter commands
line
contains no tokens
TaskException
public static StepFactory getInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |