Microsoft SDK for Java

getFiles

This method of the FileIOPermission Class retrieves a WildcardExpression object that indicates all the files that this permission object matches for the specified access type.

Syntax

public WildcardExpression getFiles(int access, boolean allowed);

Return Value

Returns the wildcard expression that indicates the matching files.

Parameters

access An access type that is one of the following values: FileIORequest.READ, FileIORequest.WRITE, or FileIORequest.DELETE.
allowed The flag that indicates whether this method retrieves the pattern that matches files that have been explicitly allowed or explicitly denied. If true, this method returns the pattern for files that have been explicitly allowed; otherwise, it returns the pattern for files that have been explicitly denied.

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