public class PortableViewLoader
extends java.lang.Object
| Constructor and Description |
|---|
PortableViewLoader() |
| Modifier and Type | Method and Description |
|---|---|
PortableViewInformation |
getInformationFromMapFile(java.io.File portableViewfile)
Gets information from a portableViewFile without uncompress it
|
PackageInfo |
getPackageInfoFromInstalledPortableView(java.io.File folder) |
MapContext |
loadMapContextFromMapDeployFolder(java.io.File mapFile,
java.io.File deployFolder)
Loads the mapContext definition form the deploy folder of a portable view
|
public MapContext loadMapContextFromMapDeployFolder(java.io.File mapFile, java.io.File deployFolder) throws InvalidPortableViewFormatException, CantLoadContextException
mapFile - portable view file name (for problems messages)deployFolder - portable view deploy folderInvalidPortableViewFormatExceptionCantLoadContextExceptionpublic PortableViewInformation getInformationFromMapFile(java.io.File portableViewfile) throws InvalidPortableViewFormatException
portableViewfile - InvalidPortableViewFormatExceptionpublic PackageInfo getPackageInfoFromInstalledPortableView(java.io.File folder) throws InvalidInstalledPortableViewException