Added in API level 1
SocketPermission
public
final
class
SocketPermission
extends Permission
implements
Serializable
java.lang.Object | ||
↳ | java.security.Permission | |
↳ | java.net.SocketPermission |
Legacy security code; do not use.
Summary
Public constructors | |
---|---|
SocketPermission(String host, String action)
|
Public methods | |
---|---|
String
|
getActions()
|
boolean
|
implies(Permission p)
|
Inherited methods | |
---|---|
Public constructors
SocketPermission
Added in API level 1
public SocketPermission (String host, String action)
Parameters | |
---|---|
host |
String |
action |
String |
Public methods
implies
Added in API level 1
public boolean implies (Permission p)
Parameters | |
---|---|
p |
Permission |
Returns | |
---|---|
boolean |