Home » openjdk-7 » java » net » [javadoc | source]
java.net
final class: SocketPermissionCollection [javadoc | source]
java.lang.Object
   java.security.PermissionCollection
      java.net.SocketPermissionCollection

All Implemented Interfaces:
    Serializable

This class represents a list of {@code SocketPermission} objects and provides a method to check whether or not a specific permission is implied by this {@code SocketPermissionCollection}.
Constructor:
 public SocketPermissionCollection() 
Method from java.net.SocketPermissionCollection Summary:
add,   elements,   implies
Methods from java.security.PermissionCollection:
add,   elements,   implies,   isReadOnly,   setReadOnly,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.net.SocketPermissionCollection Detail:
 public  void add(Permission permission) 
 public Enumeration<Permission> elements() 
 public boolean implies(Permission permission) 
    Returns whether this permission collection implies {@code permission}. Basically it tests whether {@code permission} is the subset of this collection.