public class MissionPackageEventProcessor extends java.lang.Object implements IMissionPackageEventHandler
Constructor and Description |
---|
MissionPackageEventProcessor(android.content.Context context,
MapGroup mapGroup) |
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 MissionPackageEventProcessor(android.content.Context context, MapGroup mapGroup)
public boolean add(MissionPackageListGroup group, java.io.File file)
IMissionPackageEventHandler
add
in interface IMissionPackageEventHandler
public boolean remove(MissionPackageListGroup group, MissionPackageListFileItem item)
IMissionPackageEventHandler
remove
in interface IMissionPackageEventHandler
public boolean extract(MissionPackageManifest manifest, MissionPackageContent content, ZipFile zipFile, java.io.File atakDataDir, byte[] buffer, java.util.List<ImportResolver> sorters) throws java.io.IOException
IMissionPackageEventHandler
extract
in interface IMissionPackageEventHandler
java.io.IOException