|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.io.session.SessionReader.ImportSupport
public class SessionReader.ImportSupport
Field Summary | |
---|---|
private java.lang.String |
inZipPath
Path of the file inside the zip archive. |
private java.util.LinkedHashMap<java.lang.Integer,SessionLayerImporter> |
layerDependencies
|
private int |
layerIndex
|
private java.lang.String |
layerName
|
Constructor Summary | |
---|---|
SessionReader.ImportSupport(java.lang.String layerName,
int layerIndex,
java.util.LinkedHashMap<java.lang.Integer,SessionLayerImporter> layerDependencies)
|
Method Summary | |
---|---|
void |
addPostLayersTask(java.lang.Runnable task)
Add a task, e.g. |
java.io.File |
getFile(java.lang.String uriStr)
Return a File for a URI from a .jos/.joz file. |
java.io.InputStream |
getInputStream(java.lang.String uriStr)
Return an InputStream for a URI from a .jos/.joz file. |
java.util.LinkedHashMap<java.lang.Integer,SessionLayerImporter> |
getLayerDependencies()
Dependencies - maps the layer index to the importer of the given layer. |
int |
getLayerIndex()
Index of the layer that is currently imported. |
java.lang.String |
getLayerName()
Name of the layer that is currently imported. |
boolean |
isZip()
Returns true if we are reading from a .joz file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String layerName
private int layerIndex
private java.util.LinkedHashMap<java.lang.Integer,SessionLayerImporter> layerDependencies
private java.lang.String inZipPath
Constructor Detail |
---|
public SessionReader.ImportSupport(java.lang.String layerName, int layerIndex, java.util.LinkedHashMap<java.lang.Integer,SessionLayerImporter> layerDependencies)
Method Detail |
---|
public void addPostLayersTask(java.lang.Runnable task)
public java.io.InputStream getInputStream(java.lang.String uriStr) throws java.io.IOException
java.io.IOException
- Thrown when no Stream can be opened for the given URI, e.g. when the linked file has been deleted.public java.io.File getFile(java.lang.String uriStr) throws java.io.IOException
java.io.IOException
public boolean isZip()
public java.lang.String getLayerName()
public int getLayerIndex()
public java.util.LinkedHashMap<java.lang.Integer,SessionLayerImporter> getLayerDependencies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |