public class MissionPackageExportWrapper extends java.lang.Object implements Exportable
| Constructor and Description |
|---|
MissionPackageExportWrapper() |
MissionPackageExportWrapper(boolean bMapItem,
java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(java.io.File f)
Add a file to the export wrapper
|
void |
addMapItem(MapItem item) |
void |
addUID(java.lang.String uid) |
java.util.List<java.lang.String> |
getFilepaths()
Get direct reference to the file paths list
XXX - This is a stupid way of adding paths - use
addFile(java.io.File) |
java.util.List<java.lang.String> |
getUIDs()
Get direct reference to the UIDs list
XXX - This is a stupid way of adding UIDs
Use
addMapItem(com.atakmap.android.maps.MapItem) or addUID(java.lang.String) |
boolean |
isEmpty() |
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
public MissionPackageExportWrapper()
public MissionPackageExportWrapper(boolean bMapItem,
java.lang.String s)
public void addMapItem(MapItem item)
public void addUID(java.lang.String uid)
public java.util.List<java.lang.String> getUIDs()
addMapItem(com.atakmap.android.maps.MapItem) or addUID(java.lang.String)public void addFile(java.io.File f)
f - File to addpublic java.util.List<java.lang.String> getFilepaths()
addFile(java.io.File)public boolean isEmpty()
public boolean isSupported(java.lang.Class<?> target)
ExportableisSupported in interface Exportabletarget - the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
throws FormatNotSupportedException
ExportabletoObjectOf in interface Exportabletarget - the target classfilters - Allows ExportMarshal instances to filter e.g. based
on geographic region or other criteriaFormatNotSupportedException - if there is an issue creating the object.