Microsoft SDK for Java

canWrite

This method of the UserFileIOPermission Class determines whether the object allows user-directed file I/O for writing files.

Syntax

public boolean canWrite();

Return Value

Returns true if the object has permission to write; otherwise, returns false.

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