Package org.mapsforge.map.rendertheme
Interface XmlThemeResourceProvider
-
- All Known Implementing Classes:
ZipXmlThemeResourceProvider
public interface XmlThemeResourceProviderInterface for a provider of resources referenced inside XML themes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamcreateInputStream(java.lang.String relativePath, java.lang.String source)
-
-
-
Method Detail
-
createInputStream
java.io.InputStream createInputStream(java.lang.String relativePath, java.lang.String source) throws java.io.IOException- Parameters:
relativePath- a relative path to use as a base for search in the resource provuidersource- a source string parsed out of an XML render theme "src" attribute.- Returns:
- an InputStream to read the resource data from.
- Throws:
java.io.IOException- if the resource cannot be found or an access error occurred.
-
-