FilterOutputStream (Java SE 25 & JDK 25)
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Direct Known Subclasses:
BufferedOutputStream, CheckedOutputStream, CipherOutputStream, DataOutputStream, DeflaterOutputStream, DigestOutputStream, InflaterOutputStream, PrintStream
-
Field Summary
Fields
The underlying output stream to be filtered.
-
Constructor Summary
Constructors
Creates an output stream filter built on top of the specified underlying output stream.
-
Method Summary
voidclose()Closes this output stream and releases any system resources associated with the stream.
voidflush()Flushes this output stream and forces any buffered output bytes to be written out to the stream.
voidwrite(byte[] b) Writes
b.lengthbytes to this output stream.voidwrite(byte[] b, int off, int len) Writes
lenbytes from the specifiedbytearray starting at offsetoffto this output stream.voidwrite(int b) Writes the specified
byteto this output stream.
-
Field Details
-
out
-
-
Constructor Details
-
FilterOutputStream
-
-
Method Details
-
write
-
write
-
write
-
flush
-
close
-