Closes this stream and releases any system resources associated with the stream.
public void close()
Following a call to close, any operations on the stream can throw exceptions.