public class ParseString extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
format |
(package private) String |
key |
(package private) static org.slf4j.Logger |
log |
(package private) Parser<Map<String,String>> |
parser |
context| Constructor and Description |
|---|
ParseString() |
public String getKey()
@Parameter(description="The key of the attribute which contains the string that is to be parsed.") public void setKey(String key)
key - the key to setpublic String getFormat()
@Parameter(description="The grammar string to create the parser from.") public void setFormat(String format)
format - the format to setpublic void init(ProcessContext ctx) throws Exception
init in interface StatefulProcessorinit in class AbstractProcessorExceptionAbstractProcessor.init(stream.ProcessContext)public Data process(Data input)
Processor.process(stream.Data)Copyright © 2014. All rights reserved.