org.osmdroid.tileprovider.modules.IFilesystemCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-android Show documentation
Show all versions of osmdroid-android Show documentation
An Android library to display OpenStreetMap views.
package org.osmdroid.tileprovider.modules;
import java.io.InputStream;
import org.osmdroid.tileprovider.MapTile;
import org.osmdroid.tileprovider.tilesource.ITileSource;
/**
* Represents a write-only interface into a file system cache.
*
* @author Marc Kurtz
*
*/
public interface IFilesystemCache {
/**
* Save an InputStream as the specified tile in the file system cache for the specified tile
* source.
*
* @param pTileSourceInfo
* a tile source
* @param pTile
* a tile
* @param pStream
* an InputStream
* @return
*/
boolean saveFile(final ITileSource pTileSourceInfo, MapTile pTile,
final InputStream pStream);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy