} // getISR /* ** Name: getOSW ** ** Description: ** Returns an OutputStreamWriter for conversion using the ** associated encoding and output to provided stream. ** ** Input: ** stream OutputStream to receive conversion. ** ** Output: ** None. ** ** Returns: ** OutputStreamWriter Writer for encoding conversion to stream ** ** History: ** 6-Sep-02 (gordy) ** Created. ** 11-Nov-02 (thoda04) ** Ported to .NET Provider. */ public virtual OutputStreamWriter getOSW(OutputStream stream) { OutputStreamWriter osw; if (encoding == null) { osw = new OutputStreamWriter(stream); } else { osw = new OutputStreamWriter(stream, encoding); } return(osw); } // getOSW
/* ** Name: getOSW ** ** Description: ** Returns an OutputStreamWriter for conversion using the ** associated encoding and output to provided stream. ** ** Input: ** stream OutputStream to receive conversion. ** ** Output: ** None. ** ** Returns: ** OutputStreamWriter Writer for encoding conversion to stream ** ** History: ** 6-Sep-02 (gordy) ** Created. ** 11-Nov-02 (thoda04) ** Ported to .NET Provider. */ public virtual OutputStreamWriter getOSW(OutputStream stream) { OutputStreamWriter osw; if (encoding == null) osw = new OutputStreamWriter(stream); else osw = new OutputStreamWriter(stream, encoding); return (osw); }