SecurityManager.checkWrite
Class Overview | Class Members |
This Package |
All Packages
public void checkWrite( FileDescriptor fd )
Parameters
- fd
- the system-dependent file descriptor.
Description
Throws a SecurityException if the
calling thread is not allowed to write to the specified file
descriptor.
The checkWrite method for class
SecurityManager always throws a
SecurityException.
Exceptions
SecurityException
if the caller does not have permission
to access the specified file descriptor.
See Also
FileDescriptor
public void checkWrite( String file )
Parameters
- file
- the system-dependent filename.
Description
Throws a SecurityException if the
calling thread is not allowed to write to the file specified by
the string argument.
The checkWrite method for class
SecurityManager always throws a
SecurityException.
Exceptions
SecurityException
if the caller does not have permission
to access the specified file.