Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.

write

Writes len bytes from the specified
byte array starting at offset off to
this output stream.

The write method of FilterOutputStream
calls the write method of one argument on each
byte to output.

Note that this method does not call the write method
of its underlying input stream with the same arguments. Subclasses
of FilterOutputStream should provide a more efficient
implementation of this method.