FileDocCategorySizeDatePackage
Group.javaAPI DocAndroid 1.5 API2146Wed May 06 22:41:06 BST 2009java.security.acl

Group

public interface Group implements Principal
A {@code Principal} that represents a group of principals.
see
Principal
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public booleanaddMember(java.security.Principal user)
Adds a member to this group.

param
user the member to add.
return
{@code true} if the member was added, {@code false} if it was already a member.
since
Android 1.0

public booleanisMember(java.security.Principal member)
Returns whether the specified principal is a member of this group.

param
member the principal to check.
return
{@code true} if the principal is a member, otherwise {@code false}.
since
Android 1.0

public java.util.Enumerationmembers()
Returns the members of this group.

return
the members of this group.
since
Android 1.0

public booleanremoveMember(java.security.Principal user)
Removes a member from this group.

param
user the member to remove.
return
{@code true} if the member was removed, {@code false} if it was not a member.
since
Android 1.0