public OutputStream reset(OutputStream out)
            throws IOException
    {
        OutputStream old = this.out;
        this.out = out;
        return old;
    }
public OutputStream reset ( OutputStream out ) throws IOException { OutputStream old = this . out ; this . out = out ; return old ; }
Reset Stream. This method doesn't close the old stream.

@param out new stream
@return the old stream