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
|
java.lang.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()
|
dispose
PortableViewInformation getInformation()
void open() throws InvalidPortableViewFormatException, CantLoadContextException, java.io.IOException
PortableViewManager.getTemporalFolder()
InvalidPortableViewFormatException
CantLoadContextException
java.io.IOException
boolean isOpen()
void close() throws java.io.IOException
java.io.IOException
- if any problem is found cleaning temporal folderMapContext getMapContext()
java.lang.IllegalStateException
- if isOpen()
== falsejava.lang.String getSourceFilePath()