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, onFileSortedgetDisplayableName, getIcondirectoriesSupported, filterFoundResolvers, finalizeImport, getExt, getFileSorted, setOptions, toStringpublic static final java.lang.String CONTENT_TYPE
public RemoteResourceImporter(MapView mapView)
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,
java.util.Set<ImportResolver.SortFlags> flags)
ImportResolverbeginImport in class ImportInPlaceResolverfile - File to importflags - Enum Set of flags that should be used to modify import behavior.public boolean beginImport(java.io.File file)
ImportInPlaceResolverbeginImport in class ImportInPlaceResolverfile - the file to importpublic android.util.Pair<java.lang.String,java.lang.String> getContentMIME()
ImportResolvergetContentMIME in class ImportResolver