OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Attributes
net.osmand.plus.SQLiteTileSource Class Reference

Inherits ITileSource.

List of all members.

Public Member Functions

 SQLiteTileSource (File f, List< TileSourceTemplate > toFindUrl)
int getBitDensity ()
int getMaximumZoomSupported ()
int getMinimumZoomSupported ()
String getName ()
String getTileFormat ()
int getTileSize ()
String getUrlToLoad (int x, int y, int zoom)
int hashCode ()
boolean equals (Object obj)
boolean exists (int zoom)
boolean exists (int x, int y, int zoom)
boolean isLocked ()
Bitmap getImage (int x, int y, int zoom)
ITileSource getBase ()
void deleteImage (int x, int y, int zoom)
synchronized void insertImage (int x, int y, int zoom, File fileToSave) throws IOException
void closeDB ()
boolean couldBeDownloadedFromInternet ()
boolean isEllipticYTile ()

Static Public Attributes

static final String EXT = ".sqlitedb"

Constructor & Destructor Documentation

net.osmand.plus.SQLiteTileSource.SQLiteTileSource ( File  f,
List< TileSourceTemplate >  toFindUrl 
)

Member Function Documentation

void net.osmand.plus.SQLiteTileSource.deleteImage ( int  x,
int  y,
int  zoom 
)
boolean net.osmand.plus.SQLiteTileSource.equals ( Object  obj)
boolean net.osmand.plus.SQLiteTileSource.exists ( int  x,
int  y,
int  zoom 
)
Bitmap net.osmand.plus.SQLiteTileSource.getImage ( int  x,
int  y,
int  zoom 
)
String net.osmand.plus.SQLiteTileSource.getUrlToLoad ( int  x,
int  y,
int  zoom 
)
synchronized void net.osmand.plus.SQLiteTileSource.insertImage ( int  x,
int  y,
int  zoom,
File  fileToSave 
) throws IOException

Makes method synchronized to give a little more time for get methods and let all writing attempts to wait outside of this method


Member Data Documentation

final String net.osmand.plus.SQLiteTileSource.EXT = ".sqlitedb" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines