Package org.frankframework.pipes
Class ReplacingVariablesInputStream
java.lang.Object
java.io.InputStream
org.frankframework.pipes.ReplacingVariablesInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Copyright 2019-2024 WeAreFrank!
Based on original concept created by simon on 8/29/17.
Copyright 2017 Simon Haoran Liang
...
Replaces variable placeholders with values from the given keyValuePairs in a InputStream implementation.
- Author:
- Erik van Dongen
-
Constructor Summary
ModifierConstructorDescriptionprotected
ReplacingVariablesInputStream
(InputStream in, String variablePrefix, Properties properties) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ReplacingVariablesInputStream
protected ReplacingVariablesInputStream(InputStream in, String variablePrefix, Properties properties)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-