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, mimeTypeprogresssort| 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, toStringaccept, addFilter, beginMarshal, filterGroup, filterItem, filterOverlay, getFilters, hasProgress, setProgressacceptEntry, isDefaultFilterprotected 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()
ExportMarshalgetTargetClass in class ExportMarshalprotected boolean marshal(Exportable export) throws FormatNotSupportedException
ExportFileMarshalmarshal in class ExportFileMarshalFormatNotSupportedExceptionprotected 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
ExportMarshalfinalizeMarshal in class ExportMarshaljava.io.IOException