Most visited

Recently visited

Added in API level 1

SocketPermission

public final class SocketPermission
extends Permission implements Serializable

java.lang.Object
   ↳ java.security.Permission
     ↳ java.net.SocketPermission


旧版安全代码; 不使用。

Summary

Public constructors

SocketPermission(String host, String action)

Public methods

String getActions()
boolean implies(Permission p)

Inherited methods

From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public constructors

SocketPermission

Added in API level 1
SocketPermission (String host, 
                String action)

Parameters
host String
action String

Public methods

getActions

Added in API level 1
String getActions ()

Returns
String

implies

Added in API level 1
boolean implies (Permission p)

Parameters
p Permission
Returns
boolean

Hooray!