Void writeCheck(File file)
Arguments
file: A file handle
Usage
Checks that a file handle is writable, and throws either a ClosedFile or ReadOnlyFile Exception if not.
file: A file handleChecks that a file handle is writable, and throws either a ClosedFile or ReadOnlyFile Exception if not.