SecurityManager.checkDelete
Class Overview | Class Members |
This Package |
All Packages
public void checkDelete( String file )
Parameters
- file
- the system-dependent filename.
Description
Throws a SecurityException if the
calling thread is not allowed to delete the specified file.
This method is invoked for the current security manager by the
delete method of class File.
The checkDelete method for class
SecurityManager always throws a
SecurityException.
Exceptions
SecurityException
if the caller does not have permission
to delete the file.
See Also
delete, getSecurityManager