FileDocCategorySizeDatePackage
PermissionImpl.javaAPI DocAndroid 1.5 API1579Wed May 06 22:41:06 BST 2009org.apache.harmony.security.tests.support.acl

PermissionImpl

public class PermissionImpl extends Object implements java.security.acl.Permission
Additional class for verification Permission interface

Fields Summary
private String
permission
Constructors Summary
public PermissionImpl(String s)

        permission = s;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if(obj instanceof Permission) {
            Permission permission1 = (Permission)obj;
            return permission.equals(permission1.toString());
        } else {
            return false;
        }
    
public java.lang.StringtoString()

        return permission;