Package migratedb.v1.core.internal.util
Class BomStrippingReader
java.lang.Object
java.io.Reader
java.io.FilterReader
migratedb.v1.core.internal.util.BomStrippingReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
Reader that strips the BOM from every position in a stream.
-
Field Summary
Fields inherited from class java.io.FilterReader
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterReader
close, mark, markSupported, read, ready, reset, skipMethods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
Constructor Details
-
BomStrippingReader
Creates a new BOM-stripping reader.- Parameters:
in- a Reader object providing the underlying stream.- Throws:
NullPointerException- ifinisnull
-
-
Method Details
-
read
- Overrides:
readin classFilterReader- Throws:
IOException
-