org.apache.commons.io.output

Class ClosedOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable


    public class ClosedOutputStreamextends OutputStream
    Closed output stream. This stream throws an exception on all attempts to write something to the stream.

    Typically uses of this class include testing for corner cases in methods that accept an output stream and acting as a sentinel value instead of a null output stream.

    Since:
    1.4
    Version:
    $Id: ClosedOutputStream.java 1471767 2013-04-24 23:24:19Z sebb $
    • Field Detail

      • CLOSED_OUTPUT_STREAM

        public static final ClosedOutputStream CLOSED_OUTPUT_STREAM
        A singleton.
    • Constructor Detail

      • ClosedOutputStream

        public ClosedOutputStream()

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