public interface PortableView extends Disposable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Unloads all data loaded in memory and cleans its temporal folder
|
PortableViewInformation |
getInformation()
Gets information about this Portable View
|
MapContext |
getMapContext()
Gets MapContext with Portable View representation
|
String |
getSourceFilePath()
Gets the file which PortableView data
|
boolean |
isOpen()
Informs if Portable View it's already opened or not
|
void |
open()
Opens this Portable View
This unzip Portable View contents into temporal folder (if it isn't
created yet)
and prepares data
unzip folder is defined in
PortableViewManager.getTemporalFolder()
|
disposePortableViewInformation getInformation()
void open()
throws InvalidPortableViewFormatException,
CantLoadContextException,
IOException
PortableViewManager.getTemporalFolder()
boolean isOpen()
void close()
throws IOException
IOException - if any problem is found cleaning temporal folderMapContext getMapContext()
IllegalStateException - if isOpen() == falseString getSourceFilePath()