This method of the FileIOPermission Class adjusts the permission object with some run-time state.
public void adjustPermission(String tag, Object adjustment);
tag | The adjustment type. Every type except "codebase" is ignored. |
adjustment | This parameter must be an instance of java.net.URL for the "codebase" tag. |
The FileIOPermission only responds to the "codebase" adjustment type, and expects the adjustment parameter to be of type URL in that case. All other adjustment types are ignored.
If the URL is a file:// URL and if the permission allows reading from file:// URL codebases, this method adds read access for the "codebase" directory (and everything below it) to the permission object.