public class MissionPackageExtractorFactory
extends java.lang.Object
Constructor and Description |
---|
MissionPackageExtractorFactory() |
Modifier and Type | Method and Description |
---|---|
static MissionPackageManifest |
Extract(android.content.Context context,
java.io.File zip,
java.io.File atakRoot,
boolean bImport)
Extract contents of the specified Zip File
|
static IMissionPackageExtractor |
GetExtractor(java.io.File zip)
Get Extractor for the specified Zip
|
static MissionPackageManifest |
GetManifest(java.io.File zip)
Extract manifeset from the specified Zip File
|
static java.lang.String |
GetManifestXml(java.io.File zip)
Pull text context from Zip Entry: MANIFEST/manifest.xml
|
static boolean |
HasManifest(java.io.File zip)
Check if the specified zip has a supported Mission Package Manifest
|
public static MissionPackageManifest GetManifest(java.io.File zip)
zip
- public static MissionPackageManifest Extract(android.content.Context context, java.io.File zip, java.io.File atakRoot, boolean bImport)
context
- zip
- atakRoot
- bImport
- true to use Import Manager, false to simply extract contents from zippublic static IMissionPackageExtractor GetExtractor(java.io.File zip)
zip
- public static boolean HasManifest(java.io.File zip)
zip
- public static java.lang.String GetManifestXml(java.io.File zip)
zip
-