FileDocCategorySizeDatePackage
PathPermission.javaAPI DocAndroid 5.1 API2113Thu Mar 12 22:22:10 GMT 2015android.content.pm

PathPermission

public class PathPermission extends android.os.PatternMatcher
Description of permissions needed to access a particular path in a {@link ProviderInfo}.

Fields Summary
private final String
mReadPermission
private final String
mWritePermission
public static final Parcelable.Creator
CREATOR
Constructors Summary
public PathPermission(String pattern, int type, String readPermission, String writePermission)

        super(pattern, type);
        mReadPermission = readPermission;
        mWritePermission = writePermission;
    
public PathPermission(android.os.Parcel src)

        super(src);
        mReadPermission = src.readString();
        mWritePermission = src.readString();
    
Methods Summary
public java.lang.StringgetReadPermission()

        return mReadPermission;
    
public java.lang.StringgetWritePermission()

        return mWritePermission;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        super.writeToParcel(dest, flags);
        dest.writeString(mReadPermission);
        dest.writeString(mWritePermission);