private final class ReplaceTextWithMapping.ReplaceTextCallback extends Object implements StreamCallback
Modifier and Type | Field and Description |
---|---|
private byte[] |
buffer |
private Charset |
charset |
private FlowFile |
flowFile |
private int |
groupToMatch |
private int |
numCapturingGroups |
private AttributeValueDecorator |
quotedAttributeDecorator |
private String |
regex |
Modifier | Constructor and Description |
---|---|
private |
ReplaceTextCallback(ProcessContext context,
FlowFile flowFile,
int maxBufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
process(InputStream in,
OutputStream out) |
private final Charset charset
private final byte[] buffer
private final String regex
private final FlowFile flowFile
private final int numCapturingGroups
private final int groupToMatch
private final AttributeValueDecorator quotedAttributeDecorator
private ReplaceTextCallback(ProcessContext context, FlowFile flowFile, int maxBufferSize)
public void process(InputStream in, OutputStream out) throws IOException
process
in interface StreamCallback
IOException
Copyright © 2020 Apache NiFi Project. All rights reserved.