Next: , Previous: File class-reading system defaults, Up: File


1.72.6 File class: testing

exists: fileName
Answer whether a file with the given name exists


isAccessible: fileName
Answer whether a directory with the given name exists and can be accessed


isExecutable: fileName
Answer whether a file with the given name exists and can be executed


isReadable: fileName
Answer whether a file with the given name exists and is readable


isWriteable: fileName
Answer whether a file with the given name exists and is writeable