Since: API Level 1
public interface

Permission

java.security.acl.Permission

Class Overview

The interface that represents a permission.

It can be granted or denied to a Principal using an Acl.

Summary

Public Methods
abstract boolean equals(Object another)
Checks whether the specified object equals this permission.
abstract String toString()
Returns the string representation of this permission.

Public Methods

public abstract boolean equals (Object another)

Since: API Level 1

Checks whether the specified object equals this permission.

Parameters
another the permission object to compare to this permission.
Returns
  • true if the specified permission object is equal to this, false if not.

public abstract String toString ()

Since: API Level 1

Returns the string representation of this permission.

Returns
  • the string representation of this permission.