Class BomStrippingReader

java.lang.Object
java.io.Reader
java.io.FilterReader
migratedb.v1.core.internal.util.BomStrippingReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class BomStrippingReader extends FilterReader
Reader that strips the BOM from every position in a stream.
  • Constructor Details

    • BomStrippingReader

      public BomStrippingReader(Reader in)
      Creates a new BOM-stripping reader.
      Parameters:
      in - a Reader object providing the underlying stream.
      Throws:
      NullPointerException - if in is null
  • Method Details