Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

Uses of Class
java.io.FileDescriptor

Packages that use FileDescriptor
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.net Provides the classes for implementing networking applications. 
 

Uses of FileDescriptor in java.io
 

Fields in java.io declared as FileDescriptor
static FileDescriptor FileDescriptor.in
          A handle to the standard input stream.
static FileDescriptor FileDescriptor.out
          A handle to the standard output stream.
static FileDescriptor FileDescriptor.err
          A handle to the standard error stream.
 

Methods in java.io that return FileDescriptor
 FileDescriptor FileInputStream.getFD()
          Returns the FileDescriptor object that represents the connection to the actual file in the file system being used by this FileInputStream.
 FileDescriptor FileOutputStream.getFD()
          Returns the file descriptor associated with this stream.
 FileDescriptor RandomAccessFile.getFD()
          Returns the opaque file descriptor object associated with this stream.
 

Constructors in java.io with parameters of type FileDescriptor
FileWriter.FileWriter(FileDescriptor fd)
           
FileInputStream.FileInputStream(FileDescriptor fdObj)
          Creates a FileInputStream by using the file descriptor fdObj, which represents an existing connection to an actual file in the file system.
FileReader.FileReader(FileDescriptor fd)
           
FileOutputStream.FileOutputStream(FileDescriptor fdObj)
          Creates an output file stream to write to the specified file descriptor, which represents an existing connection to an actual file in the file system.
 

Uses of FileDescriptor in java.lang
 

Methods in java.lang with parameters of type FileDescriptor
 void SecurityManager.checkRead(FileDescriptor fd)
          Throws a SecurityException if the calling thread is not allowed to read from the specified file descriptor.
 void SecurityManager.checkWrite(FileDescriptor fd)
          Throws a SecurityException if the calling thread is not allowed to write to the specified file descriptor.
 

Uses of FileDescriptor in java.net
 

Fields in java.net declared as FileDescriptor
protected  FileDescriptor DatagramSocketImpl.fd
          The file descriptor object
protected  FileDescriptor SocketImpl.fd
          The file descriptor object for this socket.
 

Methods in java.net that return FileDescriptor
protected  FileDescriptor DatagramSocketImpl.getFileDescriptor()
          Get the datagram socket file descriptor
protected  FileDescriptor SocketImpl.getFileDescriptor()
          Returns the value of this socket's fd field.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.