Package liquibase.util
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.
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
Nested classes/interfaces inherited from class org.apache.commons.io.input.ProxyInputStream
org.apache.commons.io.input.ProxyInputStream.AbstractBuilder<T extends Object,
B extends org.apache.commons.io.build.AbstractStreamBuilder<T, B>> -
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
Constructors -
Method Summary
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, setReference, unwrap
-
Constructor Details
-
BomAwareInputStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
init
Deprecated.- Throws:
IOException
-
BOMInputStream
instead