- 
Packages that use FileDescriptor 
| Package | Description |  
| 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. |  
 
- 
- 
Methods in java.io that return FileDescriptor 
| Modifier and Type | Method | Description |  
| FileDescriptor | FileInputStream. getFD() | Returns the FileDescriptorobject  that represents the connection to
 the actual file in the file system being
 used by thisFileInputStream. |  
| 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 
| Constructor | Description |  
| FileInputStream(FileDescriptor fdObj) | Creates a FileInputStreamby using the file descriptorfdObj, which represents an existing connection to an
 actual file in the file system. |  
| FileOutputStream(FileDescriptor fdObj) | Creates a file output stream to write to the specified file
 descriptor, which represents an existing connection to an actual
 file in the file system. |  
| FileReader(FileDescriptor fd) | Creates a new FileReader, given theFileDescriptorto read from. |  
| FileWriter(FileDescriptor fd) | Constructs a FileWriter object associated with a file descriptor. |  
 
- 
Methods in java.lang with parameters of type FileDescriptor 
| Modifier and Type | Method | Description |  
| void | SecurityManager. checkRead(FileDescriptor fd) | Throws a SecurityExceptionif the
 calling thread is not allowed to read from the specified file
 descriptor. |  
| void | SecurityManager. checkWrite(FileDescriptor fd) | Throws a SecurityExceptionif the
 calling thread is not allowed to write to the specified file
 descriptor. |  
 
-