All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jnfs.security.acl.PermissionImpl

java.lang.Object
   |
   +----jnfs.security.acl.PermissionImpl

public class PermissionImpl
extends Object
implements Permission, Serializable
An implementation of a Permission, such as that used to grant a particular type of access to a file.

Version:
$Id: PermissionImpl.java,v 1.8 1997/05/20 19:17:02 mjr Exp $
Author:
Michael John Radwin
See Also:
Permission

Constructor Index

 o PermissionImpl(String)
Constructs a new permission with the given name.

Method Index

 o equals(Object)
Returns true if the object passed matches the permission represented in this interface.
 o toString()
Prints a string representation of this permission.

Constructors

 o PermissionImpl
 public PermissionImpl(String name)
Constructs a new permission with the given name.

Methods

 o toString
 public String toString()
Prints a string representation of this permission.

Returns:
the string representation of the permission.
Overrides:
toString in class Object
 o equals
 public boolean equals(Object other)
Returns true if the object passed matches the permission represented in this interface.

Parameters:
another - the Permission object to compare with.
Returns:
true if the Permission objects are equal, false otherwise
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index