Microsoft SDK for Java

addDeleteableFiles

This method of the FileIOPermission Class adds a pattern that specifies a set of files that are allowed or denied for deleting.

Syntax

public void addDeleteableFiles(String pattern, boolean allow);

Parameters

pattern The string that indicates which files to allow or deny. It must be of the form accepted by a WildcardExpression with the ESCAPED flag enabled.
allow The flag that indicates whether you are allowing or denying the files specified by the pattern. If the value is true, the files are allowed. Otherwise, the files are denied. You can deny files only if the file was previously allowed.

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