to top
Android APIs
public final class

NetPermission

extends BasicPermission
java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
       ↳ java.net.NetPermission

Class Overview

Legacy security code; do not use.

Summary

Public Constructors
NetPermission(String name)
NetPermission(String name, String actions)
Public Methods
String getActions()
boolean implies(Permission permission)
[Expand]
Inherited Methods
From class java.security.BasicPermission
From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public NetPermission (String name)

Added in API level 1

public NetPermission (String name, String actions)

Added in API level 1

Public Methods

public String getActions ()

Added in API level 1

public boolean implies (Permission permission)

Added in API level 1