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)

Since: API Level 1

public NetPermission (String name, String actions)

Since: API Level 1

Public Methods

public String getActions ()

Since: API Level 1

public boolean implies (Permission permission)

Since: API Level 1