java.io
Class FileDescriptor

java.lang.Object
  extended by java.io.FileDescriptor


public final class FileDescriptor
extends Object

Wrapper for a low-level "file descriptor".

Compliance: J2SE: 1.4 incomplete

Unimplemented


Constructor Summary
FileDescriptor()
          Construct an invalid instance.
 
Method Summary
 void sync()
          Sync any unbuffered data to stable storage.
 boolean valid()
          Return whether or not this instance is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDescriptor

public FileDescriptor()
Construct an invalid instance.

Method Detail

valid

public boolean valid()
Return whether or not this instance is valid.

Returns:
true iff this instance is valid

sync

public void sync()
          throws SyncFailedException
Sync any unbuffered data to stable storage.

Throws:
SyncFailedException