public class KMLExportMarshal extends ExportFileMarshal
Export
instances to a KML fileExportMarshal.Progress
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.List<Feature>> |
features |
protected java.util.Map<java.lang.String,Style> |
styles |
contentType, context, exportedUIDs, filename, iconId, isCancelled, mimeType
progress
sort
Constructor and Description |
---|
KMLExportMarshal(android.content.Context context) |
KMLExportMarshal(android.content.Context context,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
void |
finalizeMarshal()
Finalize the export, e.g.
|
java.io.File |
getFile()
Get marshal target
|
protected java.lang.String |
getKml() |
protected java.util.List<Feature> |
getOrCreateFeatureList(java.lang.String folderName)
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<?> |
getTargetClass()
Target class this implementation exports to
|
protected boolean |
marshal(Exportable export)
Export the specified data
|
cancelMarshal, execute, filterListItemImpl, getContentType, getExtension, 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<java.lang.String,java.util.List<Feature>> features
protected final java.util.Map<java.lang.String,Style> styles
public KMLExportMarshal(android.content.Context context)
public KMLExportMarshal(android.content.Context context, java.lang.String type)
public java.lang.Class<?> getTargetClass()
ExportMarshal
getTargetClass
in class ExportMarshal
public java.io.File getFile()
ExportFileMarshal
getFile
in class ExportFileMarshal
protected boolean marshal(Exportable export) throws FormatNotSupportedException
ExportFileMarshal
marshal
in class ExportFileMarshal
FormatNotSupportedException
protected java.util.List<Feature> getOrCreateFeatureList(java.lang.String folderName)
folderName
- the folder name to use when creating a feaure listprotected java.lang.String getKml() throws java.io.IOException
java.io.IOException
public void finalizeMarshal() throws java.io.IOException
ExportMarshal
finalizeMarshal
in class ExportMarshal
java.io.IOException