Subscriber portal
Closes the file and, if data was written, flushes the file buffers to disk.
public void finalize()
This method is not usually called directly; instead, the object is finalized by leaving the scope.
The written output is not valid until the object is finalized.