| java.lang.Object | |
| ↳ | java.io.FileDescriptor | 
       Wraps a Unix file descriptor. It's possible to get the file descriptor used by some
 classes (such as
       
        
         FileInputStream
        
       
       ,
       
        
         FileOutputStream
        
       
       ,
 and
       
        
         RandomAccessFile
        
       
       ), and then create new streams that point to the same
 file descriptor.
      
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | err | Corresponds to 
          stderr
         . | |||||||||
|  | in | Corresponds to 
          stdin
         . | |||||||||
|  | out | Corresponds to 
          stdout
         . | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
          Constructs a new invalid FileDescriptor.
          | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
          Ensures that data which is buffered within the underlying implementation
 is written out to the appropriate device before returning.
          | ||||||||||
|  | 
          Returns a string containing a concise, human-readable description of this
 object.
          | ||||||||||
|  | 
          Tests whether this
           
           FileDescriptor
          is valid. | ||||||||||
| [Expand] 
          Inherited Methods
          | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
         
          java.lang.Object | |||||||||||
Ensures that data which is buffered within the underlying implementation is written out to the appropriate device before returning.
| SyncFailedException | 
|---|
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
          getClass().getName() + '@' + Integer.toHexString(hashCode())
         
        
        
         See
         
          Writing a useful
          
           toString
          
          method
         
         if you intend implementing your own
         
          toString
         
         method.