public abstract class Nfs
extends java.lang.Object
Constructor and Description |
---|
Nfs() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the file by flushing data and
deallocating buffers.
|
protected void |
finalize() |
void |
flush()
Flush any buffered writes to the file.
|
java.lang.String |
toString() |
public void flush() throws java.io.IOException
java.io.IOException
- if writes failed for some reason, e.g.
if server ran out of disk space.public void close() throws java.io.IOException
java.io.IOException
- if failure during flushing.protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Object