|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object example.StringAppender
public class StringAppender
Constructor Summary | |
---|---|
StringAppender()
|
Method Summary | |
---|---|
MetaData |
describeApplication()
Describe this string transformation application. |
MetaData |
getInput()
Describe the single input. |
MetaData |
getOutputs()
Describe the single output. |
String |
getSuffix()
|
String |
process(String data)
Process input data. |
void |
setSuffix(String suffix)
|
void |
validate(String data)
Check that the input is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringAppender()
Method Detail |
---|
public String getSuffix()
public void setSuffix(String suffix)
public MetaData describeApplication()
StringProcessor
describeApplication
in interface StringProcessor
MetaData
describing the application, including its namepublic MetaData getInput()
StringProcessor
getInput
in interface StringProcessor
MetaData
describing the input, including its namepublic MetaData getOutputs()
StringProcessor
getOutputs
in interface StringProcessor
MetaData
describing the output, including its namepublic void validate(String data) throws InvalidJobSpecificationException
StringProcessor
validate
in interface StringProcessor
data
- the input String
InvalidJobSpecificationException
public String process(String data) throws JobExecutionException
StringProcessor
process
in interface StringProcessor
data
- the input String
String
JobExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |