public class MvtSpatialDb extends SpatialDbContentSource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MVT_CONTENT_TYPE |
static int |
MVT_FILE_ICON_ID |
static java.lang.String |
MVT_FILE_MIME_TYPE |
static java.lang.String |
MVT_TYPE |
static java.lang.String |
TAG |
ATAK_ACTION_HANDLE_DATA, ATAK_GROUP_NAME_EXTRA, contentResolver, database, groupName, notifyUserAfterImport, PROCESS_ACCEPT, PROCESS_RECURSE, PROCESS_REJECT, type| Constructor and Description |
|---|
MvtSpatialDb(DataSourceFeatureDataStore spatialDb) |
| Modifier and Type | Method and Description |
|---|---|
MapOverlay |
createOverlay(android.content.Context context,
FeatureDataStoreDeepMapItemQuery query) |
java.lang.String |
getContentType()
Returns the cotent type supported by this importer.
|
java.lang.String |
getFileDirectoryName()
Returns the principal directory containing the content (e.g.
|
java.lang.String |
getFileMimeType()
Returns the MIME type associated with the content.
|
int |
getIconId()
Returns the Resource ID of the icon drawable (used in notifications)
|
java.lang.String |
getIconPath()
Returns the path to an icon appropriate for the content.
|
protected java.lang.String |
getProviderHint(java.io.File file)
Processes the specified file.
|
int |
processAccept(java.io.File file,
int depth)
Returns a flag instructing the process loop how to handle the file.
|
checkValidEntry, deleteAll, deleteData, dispose, getContentResolver, getDatabase, getGroupName, getNotificationId, getSupportedMIMETypes, getType, importData, importData, makeMapGroup, notifyUserOfError, notifyUserOfError, notifyUserOfError, notifyUserOfError, processFile, setContentResolverpublic static final java.lang.String TAG
public static final java.lang.String MVT_CONTENT_TYPE
public static final java.lang.String MVT_FILE_MIME_TYPE
public static final int MVT_FILE_ICON_ID
public static final java.lang.String MVT_TYPE
public java.lang.String getFileDirectoryName()
SpatialDbContentSourcegetFileDirectoryName in class SpatialDbContentSourcepublic int getIconId()
SpatialDbContentSourcegetIconId in class SpatialDbContentSourcepublic int processAccept(java.io.File file,
int depth)
SpatialDbContentSourceprocessAccept in class SpatialDbContentSourcefile - The file to be processeddepth - The current recursion depthSpatialDbContentSource.PROCESS_ACCEPT, SpatialDbContentSource.PROCESS_RECURSE or
SpatialDbContentSource.PROCESS_REJECT.public java.lang.String getFileMimeType()
SpatialDbContentSourcegetFileMimeType in class SpatialDbContentSourcepublic java.lang.String getIconPath()
SpatialDbContentSourcegetIconPath in class SpatialDbContentSourcenull to indicate
no icon.public java.lang.String getContentType()
Importerprotected java.lang.String getProviderHint(java.io.File file)
SpatialDbContentSourcegetProviderHint in class SpatialDbContentSourcefile - The file to be processed.public MapOverlay createOverlay(android.content.Context context, FeatureDataStoreDeepMapItemQuery query)
createOverlay in class SpatialDbContentSource