PathPermission

public class PathPermission
extends PatternMatcher

java.lang.Object
   ↳ android.os.PatternMatcher
     ↳ android.content.pm.PathPermission


Description of permissions needed to access a particular path in a ProviderInfo.

Summary

Inherited constants

Fields

public static final Creator<PathPermission> CREATOR

Inherited fields

Public constructors

PathPermission(String pattern, int type, String readPermission, String writePermission)
PathPermission(Parcel src)

Public methods

String getReadPermission()
String getWritePermission()
void writeToParcel(Parcel dest, int flags)

Flatten this object in to a Parcel.

Inherited methods

Fields

CREATOR

added in API level 4
public static final Creator<PathPermission> CREATOR

Public constructors

PathPermission

added in API level 4
public PathPermission (String pattern, 
                int type, 
                String readPermission, 
                String writePermission)

Parameters
pattern String

type int

readPermission String

writePermission String

PathPermission

added in API level 4
public PathPermission (Parcel src)

Parameters
src Parcel

Public methods

getReadPermission

added in API level 4
public String getReadPermission ()

Returns
String

getWritePermission

added in API level 4
public String getWritePermission ()

Returns
String

writeToParcel

added in API level 4
public void writeToParcel (Parcel dest, 
                int flags)

Flatten this object in to a Parcel.

Parameters
dest Parcel: The Parcel in which the object should be written.

flags int: Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.