@Deprecated public class AddText extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
file
Deprecated.
|
(package private) String |
key
Deprecated.
|
(package private) String |
text
Deprecated.
|
context| Constructor and Description |
|---|
AddText()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFile()
Deprecated.
|
String |
getKey()
Deprecated.
|
String |
getText()
Deprecated.
|
void |
init(ProcessContext ctx)
Deprecated.
|
Data |
process(Data input)
Deprecated.
|
void |
setFile(String file)
Deprecated.
|
void |
setKey(String key)
Deprecated.
|
void |
setText(String text)
Deprecated.
|
finish, resetStatepublic String getFile()
public void setFile(String file)
file - the file to setpublic String getText()
public void setText(String text)
text - the text to setpublic String getKey()
public void setKey(String key)
key - the key 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 © 2018. All rights reserved.