Microsoft SDK for Java

combine

This method of the FileIOPermission Class creates and returns a new FileIOPermission object that is a combination of the current permission object and the specified permission object. The new object allows access to exactly those resources allowed by either one of the permission objects that it was constructed from.

Syntax

public IPermission combine(IPermission source2);

Return Value

Returns the resulting FileIOPermission object.

Parameters

source2 The FileIOPermission object to combine with.

Exceptions

IllegalArgumentException if the specified object to combine with is not an instance of FileIOPermission.

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