Package org.frankframework.util
Class EncapsulatingReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.frankframework.util.EncapsulatingReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
Reader that encapsulates a file within a prefix and a postfix.
- Since:
- 4.3
- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class java.io.FilterReader
in
-
Constructor Summary
ConstructorDescriptionEncapsulatingReader
(Reader in, String prefix, String postfix) EncapsulatingReader
(Reader in, String prefix, String postfix, boolean encodePrintable) -
Method Summary
Methods inherited from class java.io.FilterReader
close, mark, markSupported, skip
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
EncapsulatingReader
-
EncapsulatingReader
-
-
Method Details
-
read
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
read
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
ready
- Overrides:
ready
in classFilterReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classFilterReader
- Throws:
IOException
-