public class RemoteResourceImporter extends ImportInPlaceResolver
ImportResolver.SortFlags
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTENT_TYPE |
_bCopyFile, _bFileSorted, _bValidateExt, _ext, _filter, _folderName
Constructor and Description |
---|
RemoteResourceImporter(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
boolean |
beginImport(java.io.File file)
Does not move a file, just invokes onFileSorted to import from source location
|
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
|
boolean |
match(java.io.File file)
Return true if this sort matches the specified file
|
fromMarshal, fromMarshal, getDestinationPath, onFileSorted
getDisplayableName, getIcon
directoriesSupported, filterFoundResolvers, finalizeImport, getExt, getFileSorted, setOptions, toString
public static final java.lang.String CONTENT_TYPE
public RemoteResourceImporter(MapView mapView)
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, java.util.Set<ImportResolver.SortFlags> flags)
ImportResolver
beginImport
in class ImportInPlaceResolver
file
- File to importflags
- Enum Set of flags that should be used to modify import behavior.public boolean beginImport(java.io.File file)
ImportInPlaceResolver
beginImport
in class ImportInPlaceResolver
file
- the file to importpublic android.util.Pair<java.lang.String,java.lang.String> getContentMIME()
ImportResolver
getContentMIME
in class ImportResolver