public class MissionPackageEventHandler extends java.lang.Object implements IMissionPackageEventHandler
| Modifier and Type | Field and Description |
|---|---|
protected android.content.Context |
_context |
| Constructor and Description |
|---|
MissionPackageEventHandler(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(MissionPackageListGroup group,
java.io.File file)
If file is supported, add to group/manifest.
|
boolean |
extract(MissionPackageManifest manifest,
MissionPackageContent content,
ZipFile zipFile,
java.io.File atakDataDir,
byte[] buffer,
java.util.List<ImportResolver> sorters)
If content is supported, extract it from the zip
|
boolean |
remove(MissionPackageListGroup group,
MissionPackageListFileItem item)
If file is supported, remove from group/manifest.
|
public MissionPackageEventHandler(android.content.Context context)
public boolean add(MissionPackageListGroup group, java.io.File file)
IMissionPackageEventHandleradd in interface IMissionPackageEventHandlerpublic boolean remove(MissionPackageListGroup group, MissionPackageListFileItem item)
IMissionPackageEventHandlerremove in interface IMissionPackageEventHandlerpublic boolean extract(MissionPackageManifest manifest, MissionPackageContent content, ZipFile zipFile, java.io.File atakDataDir, byte[] buffer, java.util.List<ImportResolver> sorters) throws java.io.IOException
IMissionPackageEventHandlerextract in interface IMissionPackageEventHandlerjava.io.IOException