|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
public class FilterOutputStream
Base class for all filtering output streams.
This base implementation passes all calls through to the stream.
Field Summary | |
---|---|
protected OutputStream |
out
Reference to the stream that is receiving the filtered output. |
Constructor Summary | |
---|---|
FilterOutputStream(OutputStream outputStream)
Constructs a FilterOutputStream. |
Method Summary | |
---|---|
void |
close()
Close the output stream. |
void |
flush()
Flush the data to the output stream. |
void |
write(byte[] b)
Writes the specified bytes to the output stream. |
void |
write(byte[] b,
int off,
int len)
Writes bytes from the specified byte array to the output stream. |
void |
write(int b)
Writes a byte to the output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
Field Detail |
---|
protected OutputStream out
Constructor Detail |
---|
public FilterOutputStream(OutputStream outputStream)
outputStream
- output stream to filterMethod Detail |
---|
public void close() throws IOException
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
b
- bytes to output
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
b
- byte arrayoff
- offset of the first byte to writelen
- number of bytes to write
IOException
public void write(int b) throws IOException
write
in class OutputStream
b
- byte to write
IOException
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |