This method of the UserFileIOPermission Class creates and returns a new UserFileIOPermission 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.
public IPermission combine(IPermission source2);
Returns the resulting UserFileIOPermission object.
source2 | The UserFileIOPermission object to combine with the current one. |
IllegalArgumentException if the specified object to combine with is not an instance of UserFileIOPermission.