Class BomAwareInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
org.apache.commons.io.input.BOMInputStream
liquibase.util.BomAwareInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated public class BomAwareInputStream extends org.apache.commons.io.input.BOMInputStream
Deprecated.
use BOMInputStream instead
Read up to 4 bytes to determine the BOM. Extra bytes, of if no BOM is found are pushed back to the input stream. If no BOM is found, the detectedCharsetName is null.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.commons.io.input.BOMInputStream

    org.apache.commons.io.input.BOMInputStream.Builder
  • Field Summary

    Fields inherited from class java.io.FilterInputStream

    in
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Deprecated.
     

    Methods inherited from class org.apache.commons.io.input.BOMInputStream

    builder, getBOM, getBOMCharsetName, hasBOM, hasBOM, mark, read, read, read, reset, skip

    Methods inherited from class org.apache.commons.io.input.ProxyInputStream

    afterRead, available, beforeRead, close, handleIOException, markSupported, unwrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait