public class ImportVideoAliasSort extends ImportResolver
ImportResolver.SortFlags_bCopyFile, _bFileSorted, _bValidateExt, _ext, _filter, _folderName| Constructor and Description |
|---|
ImportVideoAliasSort(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
beginImport(java.io.File file)
Initiate import of the specified file
|
boolean |
beginImport(java.io.File file,
java.util.Set<ImportResolver.SortFlags> flags)
Initiate import of the specified file
|
android.util.Pair<java.lang.String,java.lang.String> |
getContentMIME()
Get the content and MIME type
|
java.io.File |
getDestinationPath(java.io.File file) |
java.lang.String |
getDisplayableName()
Get a human readable string that can be displayed to the user so that
they can differentiate between different sorter implementations.
|
android.graphics.drawable.Drawable |
getIcon()
Get an icon that represents this sorter
|
boolean |
match(java.io.File file)
Return true if this sort matches the specified file
|
directoriesSupported, filterFoundResolvers, finalizeImport, getExt, getFileSorted, onFileSorted, setOptions, toStringpublic ImportVideoAliasSort(android.content.Context context)
public boolean match(java.io.File file)
ImportResolvermatch in class ImportResolverfile - the file to read to see if the import resolver supports the file.public boolean beginImport(java.io.File file)
ImportResolverbeginImport in class ImportResolverfile - File to import.public boolean beginImport(java.io.File file,
java.util.Set<ImportResolver.SortFlags> flags)
ImportResolverbeginImport in class ImportResolverfile - File to importflags - Enum Set of flags that should be used to modify import behavior.public java.lang.String getDisplayableName()
ImportResolvergetDisplayableName in class ImportResolverpublic android.graphics.drawable.Drawable getIcon()
ImportResolvergetIcon in class ImportResolverpublic java.io.File getDestinationPath(java.io.File file)
getDestinationPath in class ImportResolverpublic android.util.Pair<java.lang.String,java.lang.String> getContentMIME()
ImportResolvergetContentMIME in class ImportResolver