|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.rover.TiledRoverStore
public class TiledRoverStore
A TiledRoverStore is responsible for locating and returning Rover files based on their SheetCoord. Implementations can perform this in a variety of ways and pull their data from a variety of sources. It also encapsulates the knowledge of the database's extents - for any given SheetCoord, it knows whether a rover file exists.
| Constructor Summary | |
|---|---|
TiledRoverStore()
|
|
| Method Summary | |
|---|---|
PackedGoedelObjectDump |
createLineDumpFor(long tile)
Creates a line dump for the given tile. |
PackedObjectDump |
createPointDumpFor(long tile)
Creates a point dump for the given tile. |
java.lang.String |
getPath()
The path path. |
java.io.InputStream |
getRoverStream(long coord)
Returns a Rover input stream associated with a SheetCoord. |
java.util.ArrayList |
getRoverTilings()
|
boolean |
isCompressed()
|
long |
packedSheetContaining(Coord3D coord,
int scaleIndex)
Return the PackedSheetCoord for the given ground coordinate at the given scale. |
java.io.File |
roverDirFor(long coord)
Returns the directory of tile data for the given PackedSheetCoord. |
java.io.File |
roverDirFor(SheetCoord coord)
Returns the directory of tile data for the given SheetCoord. |
java.lang.String |
roverPathFor(long packedSheetCoord)
Returns the path to tile data for the given packed SheetCoord. |
RoverTiling |
roverTilingAt(int index)
Return the RoverTiling for the given index. |
void |
setCompressed(boolean tizit)
|
void |
setPath(java.lang.String newPath)
The path path. |
void |
setRoverTilings(java.util.ArrayList newTilings)
|
SheetCoord |
sheetContaining(Coord3D coord,
int scaleIndex)
Return the SheetCoord for the given ground coordinate at the given scale; set the content yourself if you need to. |
boolean |
tileExists(long coords)
|
boolean |
tileExists(SheetCoord coords)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TiledRoverStore()
| Method Detail |
|---|
public java.io.InputStream getRoverStream(long coord)
throws java.io.IOException
java.io.IOExceptionpublic PackedObjectDump createPointDumpFor(long tile)
public PackedGoedelObjectDump createLineDumpFor(long tile)
public boolean tileExists(SheetCoord coords)
public boolean tileExists(long coords)
public SheetCoord sheetContaining(Coord3D coord,
int scaleIndex)
public long packedSheetContaining(Coord3D coord,
int scaleIndex)
public RoverTiling roverTilingAt(int index)
public java.lang.String getPath()
public void setPath(java.lang.String newPath)
public java.util.ArrayList getRoverTilings()
public void setRoverTilings(java.util.ArrayList newTilings)
public boolean isCompressed()
public void setCompressed(boolean tizit)
public java.io.File roverDirFor(SheetCoord coord)
public java.io.File roverDirFor(long coord)
public java.lang.String roverPathFor(long packedSheetCoord)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||