org.apache.commons.io.input

Class CloseShieldInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable


    public class CloseShieldInputStreamextends ProxyInputStream
    Proxy stream that prevents the underlying input stream from being closed.

    This class is typically used in cases where an input stream needs to be passed to a component that wants to explicitly close the stream even if more input would still be available to other components.

    Since:
    1.4
    Version:
    $Id: CloseShieldInputStream.java 1415850 2012-11-30 20:51:39Z ggregory $
    • Constructor Detail

      • CloseShieldInputStream

        public CloseShieldInputStream(InputStream in)
        Creates a proxy that shields the given input stream from being closed.
        Parameters:
        in - underlying input stream

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14