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.
◆ FileDescriptor()
java.io.FileDescriptor.FileDescriptor |
( |
| ) |
|
|
inline |
◆ getInt()
final int java.io.FileDescriptor.getInt |
( |
| ) |
|
|
inline |
Returns the int fd. It's highly unlikely you should be calling this. Please discuss your needs with a libcore maintainer before using this method. internal use only
◆ setInt()
final void java.io.FileDescriptor.setInt |
( |
int |
fd | ) |
|
|
inline |
Sets the int fd. It's highly unlikely you should be calling this. Please discuss your needs with a libcore maintainer before using this method. internal use only
◆ sync()
Ensures that data which is buffered within the underlying implementation is written out to the appropriate device before returning.
◆ valid()
boolean java.io.FileDescriptor.valid |
( |
| ) |
|
|
inline |
Tests whether this
is valid.
◆ err
◆ in
◆ out
The documentation for this class was generated from the following file:
- src/java/io/FileDescriptor.java