The FileIOPermission Class contains the following methods:
addDeleteableFile adds a file to the set, either allowing or denying that file for delete access.
addDeleteableFiles adds a pattern that specifies a set of files that are allowed or denied for deleting.
addFile adds a specific file to the permission, either allowing or denying that file for the specified access types.
addFiles adds a set of files to this permission, either allowing or denying those files for the specified access type.
addReadableFile adds a file to the set, either allowing or denying that file for read access.
addReadableFiles adds a pattern that specifies a set of files that are allowed or denied for reading.
addWriteableFile adds a file to the set, either allowing or denying that file for write access.
addWriteableFiles adds a pattern that specifies a set of files that are allowed or denied for writing.
adjustPermission adjusts the permission object with some run-time state.
check determines if the specified file I/O operation is allowed by this permission object.
combine creates and returns a new FileIOPermission object that is a combination of the current permission object and the specified permission object.
compareSet compares the FileIOPermission instance with a specified permission object.
copy retrieves a copy of the FileIOPermission instance.
decode decodes the contents of the specified data stream into this permission object.
encode encodes the contents of this permission object and sends the encoded data to the specified stream.
getCanReadFromFileURLCodebase 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.
getDeleteableFiles obtains a pattern that matches all files that are permitted or all files that are explicitly prohibited for delete access.
getFiles retrieves a WildcardExpression object that indicates all the files that this permission object matches for the specified access type.
getReadableFiles obtains a pattern that matches all files that are permitted or all files that are explicitly prohibited for read access.
getWriteableFiles obtains a pattern that matches all files that are permitted or all files that are explicitly prohibited for write access.
mapFormat retrieves a permission-specific tag when given an encoding format.
reset resets the permission state to empty.
setCanReadFromFileURLCodebase sets 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.
supportedFormats returns the encoding formats that the permission type supports.
toString retrieves a textual representation of the permission object.