@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
public abstract class DecoratingOutputStream
extends java.io.OutputStream
FilterOutputStream
in the JSE, but optimized for performance and without
multithreading support.DecoratingInputStream| Modifier and Type | Field and Description |
|---|---|
protected java.io.OutputStream |
delegate
The nullable decorated output stream.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DecoratingOutputStream(java.io.OutputStream out)
Constructs a new decorating output stream.
|
@Nullable protected java.io.OutputStream delegate
protected DecoratingOutputStream(@CheckForNull
java.io.OutputStream out)
out - the output stream to wrap in this decorator.public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic final void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.