Lines Matching defs:FilePermission

41  * This class represents access to a file or directory.  A FilePermission consists
104 public final class FilePermission extends Permission implements Serializable {
181 * initialize a FilePermission object. Common to all constructors.
253 * Creates a new FilePermission object with the specified actions.
282 public FilePermission(String path, String actions)
289 * Creates a new FilePermission object using an action mask.
290 * More efficient than the FilePermission(String, String) constructor.
292 * code that needs to create a FilePermission object to pass into the
300 FilePermission(String path, int mask)
307 * Checks if this FilePermission object "implies" the specified permission.
311 * <li> <i>p</i> is an instanceof FilePermission,<p>
327 if (!(p instanceof FilePermission))
330 FilePermission that = (FilePermission) p;
341 * this FilePermission's path also implies that FilePermission's path.
343 * @param that the FilePermission to check against.
347 boolean impliesIgnoreMask(FilePermission that) {
391 * Checks two FilePermission objects for equality. Checks that <i>obj</i> is
392 * a FilePermission, and has the same pathname and actions as this object.
395 * @return <code>true</code> if obj is a FilePermission, and has the same
396 * pathname and actions as this FilePermission object,
403 if (! (obj instanceof FilePermission))
406 FilePermission that = (FilePermission) obj;
609 * read, write, execute, delete, readlink. For example, if this FilePermission
625 * Returns a new PermissionCollection object for storing FilePermission
628 * FilePermission objects must be stored in a manner that allows them
639 * <p>and you are calling the <code>implies</code> method with the FilePermission:
661 * WriteObject is called to save the state of the FilePermission
676 * readObject is called to restore the state of the FilePermission from
689 * A FilePermissionCollection stores a set of FilePermission permissions.
690 * FilePermission objects
699 * And you are calling the implies function with the FilePermission:
738 * FilePermission
746 if (! (permission instanceof FilePermission))
770 if (! (permission instanceof FilePermission))
773 FilePermission fp = (FilePermission) permission;
782 FilePermission x = (FilePermission) perms.get(i);
795 * Returns an enumeration of all the FilePermission objects in the
798 * @return an enumeration of all the FilePermission objects.
816 * A list of FilePermission objects.