java.io.FileDescriptor (JDK 1.0)
This class is a platform-independent representation of a low-level handle to an open file or an open socket. The static in, out, and err variables are FileDescriptor objects that represent the system standard input, output, and error streams, respectively. There is no public constructor method to create a FileDescriptor object. You can obtain one with the getFD() method of FileInputStream, FileOutputStream, and RandomAccessFile.
public final classFileDescriptorextends Object { //Default Constructor: public FileDescriptor()//Constantspublic static final FileDescriptorerr; public static final FileDescriptorin; public static final FileDescriptorout; //Public Instance Methods1.1 public native voidsync() throws SyncFailedException; public native booleanvalid(); }
Passed To:
FileInputStream(), FileOutputStream(), FileReader(), FileWriter(), SecurityManager.checkRead(), SecurityManager.checkWrite()
Returned By:
DatagramSocketImpl.getFileDescriptor(), FileInputStream.getFD(), FileOutputStream.getFD(), RandomAccessFile.getFD(), SocketImpl.getFileDescriptor()
Type Of:
DatagramSocketImpl.fd, FileDescriptor.err, FileDescriptor.in, FileDescriptor.out, SocketImpl.fd