Microsoft SDK for Java

getCanReadFromFileURLCodebase

This method of the FileIOPermission Class returns the flag that controls whether classes that possess this permission should have read access to the directory that they were loaded from, if that location is a file:// URL.

Syntax

public boolean getCanReadFromFileURLCodebase();

Return Value

Returns true if the permission allows reading from file:// URL codebases; otherwise, returns false.

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