Class StorageHelper
-
- All Implemented Interfaces:
public final class StorageHelper
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringTIME_FORMATpublic final static StringFILE_NAME_PREFIX
-
Constructor Summary
Constructors Constructor Description StorageHelper()
-
Method Summary
Modifier and Type Method Description final FilegetCachedFileFromUri(Context context, AttachmentMetaData attachmentMetaData)final List<AttachmentMetaData>getFileAttachments(Context context)final List<AttachmentMetaData>getMediaAttachments(Context context)final List<AttachmentMetaData>getAttachmentsFromUriList(Context context, List<Uri> uriList)Queries the given list of content URI and returns the parsed metadata. -
-
Method Detail
-
getCachedFileFromUri
final File getCachedFileFromUri(Context context, AttachmentMetaData attachmentMetaData)
-
getFileAttachments
final List<AttachmentMetaData> getFileAttachments(Context context)
-
getMediaAttachments
final List<AttachmentMetaData> getMediaAttachments(Context context)
-
getAttachmentsFromUriList
final List<AttachmentMetaData> getAttachmentsFromUriList(Context context, List<Uri> uriList)
Queries the given list of content URI and returns the parsed metadata.
- Parameters:
uriList- The list of URIs, using the content:// scheme.- Returns:
A list of objects with parsed metadata for the list of URIs.
-
-
-
-