close

public final void close()

Closes this resource and releases any associated native resources. This method is called automatically when used in a try-with-resources block.