public class AwtPoiPersistenceManagerFactory
extends java.lang.Object
PoiPersistenceManager
implementations.
This class is needed to differ between Android and AWT.Constructor and Description |
---|
AwtPoiPersistenceManagerFactory() |
Modifier and Type | Method and Description |
---|---|
static org.mapsforge.poi.storage.PoiPersistenceManager |
getPoiPersistenceManager(java.lang.String poiFilePath) |
static org.mapsforge.poi.storage.PoiPersistenceManager |
getPoiPersistenceManager(java.lang.String poiFilePath,
boolean readOnly) |
public static org.mapsforge.poi.storage.PoiPersistenceManager getPoiPersistenceManager(java.lang.String poiFilePath)
poiFilePath
- Path to a .poi file.PoiPersistenceManager
using an underlying SQLite database.public static org.mapsforge.poi.storage.PoiPersistenceManager getPoiPersistenceManager(java.lang.String poiFilePath, boolean readOnly)
poiFilePath
- Path to a .poi file.readOnly
- If the file does not exist it can be created and filled.PoiPersistenceManager
using an underlying SQLite database.