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, toString
public ImportVideoAliasSort(android.content.Context context)
public boolean match(java.io.File file)
ImportResolver
match
in class ImportResolver
file
- the file to read to see if the import resolver supports the file.public boolean beginImport(java.io.File file)
ImportResolver
beginImport
in class ImportResolver
file
- File to import.public boolean beginImport(java.io.File file, java.util.Set<ImportResolver.SortFlags> flags)
ImportResolver
beginImport
in class ImportResolver
file
- File to importflags
- Enum Set of flags that should be used to modify import behavior.public java.lang.String getDisplayableName()
ImportResolver
getDisplayableName
in class ImportResolver
public android.graphics.drawable.Drawable getIcon()
ImportResolver
getIcon
in class ImportResolver
public java.io.File getDestinationPath(java.io.File file)
getDestinationPath
in class ImportResolver
public android.util.Pair<java.lang.String,java.lang.String> getContentMIME()
ImportResolver
getContentMIME
in class ImportResolver