/// <summary> /// Closes this piped output stream and releases any system resources /// associated with this stream. This stream may no longer be used for /// writing bytes. /// </summary> /// <exception cref="IOException"> if an I/O error occurs. </exception> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void close() throws IOException public override void Close() { if (Sink != null) { Sink.ReceivedLast(); } }