Package com.drew.lang
Class NullOutputStream
java.lang.Object
java.io.OutputStream
com.drew.lang.NullOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An implementation of OutputSteam that ignores write requests by doing nothing. This class may be useful in tests.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
Constructor Details
-
NullOutputStream
public NullOutputStream()Deprecated.
-
-
Method Details
-
write
Deprecated.- Specified by:
writein classOutputStream- Throws:
IOException
-