FileDocCategorySizeDatePackage
SerializablePermission.javaAPI DocAndroid 1.5 API2263Wed May 06 22:41:04 BST 2009java.io

SerializablePermission

public final class SerializablePermission extends BasicPermission
Is used to enable access to potentially unsafe serialization operations. It does have a name but no action list. The following table lists valid permission names:
enableSubclassImplementation Subclasses can override serialization behavior.
enableSubstitution Object substitution is allowed.
see
ObjectStreamConstants
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private String
actions
Constructors Summary
public SerializablePermission(String permissionName)
Constructs a new {@code SerializablePermission} with the specified name.

param
permissionName the name of the new permission.
since
Android 1.0

        super(permissionName);
    
public SerializablePermission(String name, String actions)
Constructs a new {@code SerializablePermission} with the specified name. The action list is ignored.

param
name the name of the new permission.
param
actions ignored.
since
Android 1.0

        super(name, actions);
    
Methods Summary