public abstract class OGRExportMarshal extends ExportFileMarshal
Export
instances to a an OGR supported datasetExportMarshal.Progress
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<android.util.Pair<java.lang.String,java.lang.Integer>,java.util.List<OGRFeatureExportWrapper.NamedGeometry>> |
geometries |
contentType, context, exportedUIDs, filename, iconId, isCancelled, mimeType
progress
sort
Constructor and Description |
---|
OGRExportMarshal(android.content.Context context,
java.lang.String contentType,
java.lang.String mimeType,
java.lang.String driverName,
int iconId) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeMarshal()
Finalize the export, e.g.
|
protected java.util.List<OGRFeatureExportWrapper.NamedGeometry> |
getOrCreateFeatureList(java.lang.String layerName,
int featureType)
Get feature list based on folder name
This stores features from the specified folder in class member
folders to prep for export
|
java.lang.Class<? extends OGRFeatureExportWrapper> |
getTargetClass()
Target class this implementation exports to
|
protected boolean |
marshal(Exportable export)
Export the specified data
|
cancelMarshal, execute, filterListItemImpl, getContentType, getExtension, getFile, getIconId, getMIMEType, marshal, postMarshal, send3rdParty, sendFile, sendFTP, sendFTP, timestamp, toString
accept, addFilter, beginMarshal, filterGroup, filterItem, filterOverlay, getFilters, hasProgress, setProgress
acceptEntry, isDefaultFilter
protected final java.util.Map<android.util.Pair<java.lang.String,java.lang.Integer>,java.util.List<OGRFeatureExportWrapper.NamedGeometry>> geometries
public OGRExportMarshal(android.content.Context context, java.lang.String contentType, java.lang.String mimeType, java.lang.String driverName, int iconId)
public java.lang.Class<? extends OGRFeatureExportWrapper> getTargetClass()
ExportMarshal
getTargetClass
in class ExportMarshal
protected boolean marshal(Exportable export) throws FormatNotSupportedException
ExportFileMarshal
marshal
in class ExportFileMarshal
FormatNotSupportedException
protected java.util.List<OGRFeatureExportWrapper.NamedGeometry> getOrCreateFeatureList(java.lang.String layerName, int featureType)
layerName
- the layer namefeatureType
- the feature type in the layerpublic void finalizeMarshal() throws java.io.IOException
ExportMarshal
finalizeMarshal
in class ExportMarshal
java.io.IOException