public class LinguistProcessor extends java.lang.Object implements Configurable, java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_LINGUIST
The property that defines the name of the linguist to process
|
Constructor and Description |
---|
LinguistProcessor() |
LinguistProcessor(Linguist linguist) |
Modifier and Type | Method and Description |
---|---|
protected Linguist |
getLinguist()
Returns the configured lingust
|
java.lang.String |
getName() |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
void |
run() |
@S4Component(type=Linguist.class) public static final java.lang.String PROP_LINGUIST
public LinguistProcessor(Linguist linguist)
public LinguistProcessor()
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
ps
- a property sheet holding the new dataPropertyException
- if there is a problem with the properties.public java.lang.String getName()
public void run()
run
in interface java.lang.Runnable
protected Linguist getLinguist()