Answer whether the file is open and we can read from it
canWrite
Answer whether the file is open and we can write from it
ensureReadable
If the file is open, wait until data can be read from it. The wait
allows other Processes to run.
ensureWriteable
If the file is open, wait until we can write to it. The wait
allows other Processes to run.
exceptionalCondition
Answer whether the file is open and an exceptional condition (such
as presence of out of band data) has occurred on it
fd
Return the OS file descriptor of the file
file
Return the name of the file
isOpen
Answer whether the file is still open
isPeerAlive
Present for compatibility with sockets. For files, it answers
whether the file is still open
isPipe
Answer whether the file is a pipe or an actual disk file
name
Return the name of the file
waitForException
If the file is open, wait until an exceptional condition (such
as presence of out of band data) has occurred on it. The wait
allows other Processes to run.