Package org.frankframework.pipes
Class ReplacingInputStream
java.lang.Object
java.io.InputStream
org.frankframework.pipes.ReplacingInputStream
- 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
...
Find / Replace InputStream implementation
- Author:
- Erik van Dongen
-
Constructor Summary
ConstructorDescriptionReplacingInputStream
(InputStream in, String search, String replacement, boolean replaceNonXmlChars, String nonXmlReplacementCharacter, boolean allowUnicodeSupplementaryCharacters) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ReplacingInputStream
public ReplacingInputStream(InputStream in, String search, String replacement, boolean replaceNonXmlChars, String nonXmlReplacementCharacter, boolean allowUnicodeSupplementaryCharacters)
-
-
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
-