-
- All Implemented Interfaces:
-
com.anggrayudi.storage.FileWrapper
public final class FileWrapper.Document implements FileWrapper
-
-
Constructor Summary
Constructors Constructor Description FileWrapper.Document(DocumentFile documentFile)
-
Method Summary
Modifier and Type Method Description UrigetUri()StringgetName()StringgetBaseName()StringgetExtension()StringgetMimeType()final DocumentFilegetDocumentFile()BooleanisEmpty(Context context)StringgetAbsolutePath(Context context)StringgetBasePath(Context context)StringgetRelativePath(Context context)OutputStreamopenOutputStream(Context context, Boolean append)InputStreamopenInputStream(Context context)Booleandelete()-
-
Constructor Detail
-
FileWrapper.Document
FileWrapper.Document(DocumentFile documentFile)
-
-
Method Detail
-
getBaseName
String getBaseName()
-
getExtension
String getExtension()
-
getMimeType
String getMimeType()
-
getDocumentFile
final DocumentFile getDocumentFile()
-
getAbsolutePath
String getAbsolutePath(Context context)
-
getBasePath
String getBasePath(Context context)
-
getRelativePath
String getRelativePath(Context context)
-
openOutputStream
OutputStream openOutputStream(Context context, Boolean append)
-
openInputStream
InputStream openInputStream(Context context)
-
-
-
-