public final class FileDescriptor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
long |
position |
| Constructor and Description |
|---|
FileDescriptor()
Constructs a new invalid FileDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
sync()
Ensures that data which is buffered within the underlying implementation
is written out to the appropriate device before returning.
|
java.lang.String |
toString() |
boolean |
valid()
Tests whether this
FileDescriptor is valid. |
public void sync()
throws java.io.SyncFailedException
java.io.SyncFailedExceptionpublic boolean valid()
FileDescriptor is valid.public java.lang.String toString()
toString in class java.lang.Object