org.apache.commons.io.output

Class CloseShieldOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable


    public class CloseShieldOutputStreamextends ProxyOutputStream
    Proxy stream that prevents the underlying output stream from being closed.

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

    Since:
    1.4
    Version:
    $Id: CloseShieldOutputStream.java 1674710 2015-04-20 00:25:55Z ggregory $
    • Constructor Detail

      • CloseShieldOutputStream

        public CloseShieldOutputStream(OutputStream out)
        Creates a proxy that shields the given output stream from being closed.
        Parameters:
        out - underlying output 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