close
Closes the stream and the underlying source, releasing any resources:contentReferenceoaicite:28{index=28}. Once the stream is closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException:contentReferenceoaicite:29{index=29}. Closing a previously closed stream has no effect:contentReferenceoaicite:30{index=30}.
Throws
IOException
if an I/O error occurs in the underlying source.