public class MissionPackageManifestAdapter
extends java.lang.Object
Constructor and Description |
---|
MissionPackageManifestAdapter() |
Modifier and Type | Method and Description |
---|---|
static MissionPackageListGroup |
adapt(MissionPackageManifest manifest,
java.lang.String userName,
MapGroup mapGroup) |
static MissionPackageListFileItem |
FileContentToUI(MissionPackageContent content,
java.io.File file) |
static MissionPackageContent |
FileToContent(java.io.File file,
java.lang.String uid)
Convert the file path to a Mission Package Content
|
static MissionPackageListFileItem |
FileToUI(java.io.File file,
java.lang.String uid) |
static java.util.List<MissionPackageListFileItem> |
GetFiles(MissionPackageManifest manifest)
Get list of file paths in the Mission Package
|
static java.util.List<MissionPackageListMapItem> |
GetMapItems(MapGroup mapGroup,
MissionPackageManifest manifest)
Get list of UIDs for Map Items in the Mission Package
|
static MissionPackageListMapItem |
UIDContentToUI(MapGroup mapGroup,
MissionPackageContent content) |
static MissionPackageContent |
UIDToContent(java.lang.String uid) |
static MissionPackageListMapItem |
UIDToUI(MapGroup mapGroup,
java.lang.String uid) |
public static MissionPackageContent UIDToContent(java.lang.String uid)
public static MissionPackageListMapItem UIDToUI(MapGroup mapGroup, java.lang.String uid)
public static MissionPackageListMapItem UIDContentToUI(MapGroup mapGroup, MissionPackageContent content)
public static MissionPackageContent FileToContent(java.io.File file, java.lang.String uid)
file
- uid
- public static MissionPackageListFileItem FileToUI(java.io.File file, java.lang.String uid)
public static MissionPackageListFileItem FileContentToUI(MissionPackageContent content, java.io.File file)
public static java.util.List<MissionPackageListFileItem> GetFiles(MissionPackageManifest manifest)
public static java.util.List<MissionPackageListMapItem> GetMapItems(MapGroup mapGroup, MissionPackageManifest manifest)
public static MissionPackageListGroup adapt(MissionPackageManifest manifest, java.lang.String userName, MapGroup mapGroup)