Package org.python.core.io
Class FileDescriptors
java.lang.Object
org.python.core.io.FileDescriptors
Jython file descriptor management.
File descriptor objects in Jython are instances of RawIOBase.
- Author:
- Philip Jenvey
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FileDescriptors
public FileDescriptors()
-
-
Method Details
-
get
Return the RawIOBase associated with the specified file descriptor. Raises a Python exception is the file descriptor is invalid- Parameters:
fd
- a Jython file descriptor object- Returns:
- the RawIOBase associated with the file descriptor
-