FileDocCategorySizeDatePackage
SingleDocumentFile.javaAPI DocAndroid 5.1 API2763Thu Mar 12 22:22:56 GMT 2015android.support.v4.provider

SingleDocumentFile

public class SingleDocumentFile extends DocumentFile

Fields Summary
private android.content.Context
mContext
private android.net.Uri
mUri
Constructors Summary
SingleDocumentFile(DocumentFile parent, android.content.Context context, android.net.Uri uri)

        super(parent);
        mContext = context;
        mUri = uri;
    
Methods Summary
public booleancanRead()

        return DocumentsContractApi19.canRead(mContext, mUri);
    
public booleancanWrite()

        return DocumentsContractApi19.canWrite(mContext, mUri);
    
public DocumentFilecreateDirectory(java.lang.String displayName)

        throw new UnsupportedOperationException();
    
public DocumentFilecreateFile(java.lang.String mimeType, java.lang.String displayName)

        throw new UnsupportedOperationException();
    
public booleandelete()

        return DocumentsContractApi19.delete(mContext, mUri);
    
public booleanexists()

        return DocumentsContractApi19.exists(mContext, mUri);
    
public java.lang.StringgetName()

        return DocumentsContractApi19.getName(mContext, mUri);
    
public java.lang.StringgetType()

        return DocumentsContractApi19.getType(mContext, mUri);
    
public android.net.UrigetUri()

        return mUri;
    
public booleanisDirectory()

        return DocumentsContractApi19.isDirectory(mContext, mUri);
    
public booleanisFile()

        return DocumentsContractApi19.isFile(mContext, mUri);
    
public longlastModified()

        return DocumentsContractApi19.lastModified(mContext, mUri);
    
public longlength()

        return DocumentsContractApi19.length(mContext, mUri);
    
public DocumentFile[]listFiles()

        throw new UnsupportedOperationException();
    
public booleanrenameTo(java.lang.String displayName)

        throw new UnsupportedOperationException();