Microsoft SDK for Java

addDeleteableFile

This method of the FileIOPermission Class adds a file to the set, either allowing or denying that file for delete access.

Syntax

public void addDeleteableFile(String filename, boolean allowed) throws IOException;

Parameters

filename The name of the file to add to the permission.
allowed The flag that indicates whether you are allowing or denying the file. If the value is true, the file is allowed; otherwise, the file is denied.

Exceptions

IOException if an error occurs while getting the full name of the file.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.