public class KmlFileSpatialDb extends OgrSpatialDb
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KML_CONTENT_TYPE |
static java.lang.String |
KML_DIRECTORY_NAME |
static int |
KML_FILE_ICON_ID |
static java.lang.String |
KML_FILE_MIME_TYPE |
static java.lang.String |
KML_TYPE |
static java.lang.String |
KMZ_FILE_MIME_TYPE |
static java.lang.String |
KMZ_TYPE |
iconPath
ATAK_ACTION_HANDLE_DATA, ATAK_GROUP_NAME_EXTRA, contentResolver, database, groupName, notifyUserAfterImport, PROCESS_ACCEPT, PROCESS_RECURSE, PROCESS_REJECT, type
Constructor and Description |
---|
KmlFileSpatialDb(DataSourceFeatureDataStore spatialDb) |
Modifier and Type | Method and Description |
---|---|
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.util.Set<java.lang.String> |
getSupportedMIMETypes()
Returns the set of mime types supported by this importer.
|
int |
processAccept(java.io.File file,
int depth)
Returns a flag instructing the process loop how to handle the file.
|
getIconPath, getProviderHint
checkValidEntry, createOverlay, deleteAll, deleteData, dispose, getContentResolver, getDatabase, getGroupName, getNotificationId, getType, importData, importData, makeMapGroup, notifyUserOfError, notifyUserOfError, notifyUserOfError, notifyUserOfError, processFile, setContentResolver
public static final java.lang.String KML_FILE_MIME_TYPE
public static final java.lang.String KMZ_FILE_MIME_TYPE
public static final java.lang.String KML_CONTENT_TYPE
public static final java.lang.String KML_TYPE
public static final java.lang.String KMZ_TYPE
public static final java.lang.String KML_DIRECTORY_NAME
public static final int KML_FILE_ICON_ID
public int getIconId()
SpatialDbContentSource
getIconId
in class SpatialDbContentSource
public java.lang.String getFileDirectoryName()
SpatialDbContentSource
getFileDirectoryName
in class SpatialDbContentSource
public int processAccept(java.io.File file, int depth)
SpatialDbContentSource
processAccept
in class SpatialDbContentSource
file
- The file to be processeddepth
- The current recursion depthSpatialDbContentSource.PROCESS_ACCEPT
, SpatialDbContentSource.PROCESS_RECURSE
or
SpatialDbContentSource.PROCESS_REJECT
.public java.lang.String getFileMimeType()
SpatialDbContentSource
getFileMimeType
in class SpatialDbContentSource
public java.lang.String getContentType()
Importer
public java.util.Set<java.lang.String> getSupportedMIMETypes()
Importer
getSupportedMIMETypes
in interface Importer
getSupportedMIMETypes
in class SpatialDbContentSource