public class NiFiPropertiesWriter
extends java.lang.Object
Constructor and Description |
---|
NiFiPropertiesWriter(java.util.List<java.lang.String> lines) |
Modifier and Type | Method and Description |
---|---|
void |
setPropertyValue(java.lang.String key,
java.lang.String value)
Sets a property value
|
void |
writeNiFiProperties(java.io.OutputStream outputStream)
Write an updated nifi.properties to the given OutputStream
|
public NiFiPropertiesWriter(java.util.List<java.lang.String> lines)
public void setPropertyValue(java.lang.String key, java.lang.String value)
key
- the property keyvalue
- the property valuepublic void writeNiFiProperties(java.io.OutputStream outputStream) throws java.io.IOException
outputStream
- the output streamjava.io.IOException
- if there is an IO error