public class MissionPackageFileAttachmentHandler extends java.lang.Object implements IMissionPackageEventHandler
Constructor and Description |
---|
MissionPackageFileAttachmentHandler(android.content.Context context,
MapGroup rootGroup) |
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 file)
If file is supported, remove from group/manifest.
|
public MissionPackageFileAttachmentHandler(android.content.Context context, MapGroup rootGroup)
public boolean add(MissionPackageListGroup group, java.io.File file)
IMissionPackageEventHandler
add
in interface IMissionPackageEventHandler
public boolean remove(MissionPackageListGroup group, MissionPackageListFileItem file)
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