-
public class ArchiveFileFactory
-
-
Method Summary
Modifier and Type Method Description static booleanisFileExtensionRegistered(String extension)Returns true if and only if the extension (minus the ".") is registered, meaning that osmdroidhas a driver to read map tiles/data from that source. static voidregisterArchiveFileProvider(Class<out IArchiveFile> provider, String fileExtension)Registers a custom archive file provider static IArchiveFilegetArchiveFile(File pFile)Return an implementation of IArchiveFile for the specified file. static Set<String>getRegisteredExtensions()-
-
Method Detail
-
isFileExtensionRegistered
static boolean isFileExtensionRegistered(String extension)
Returns true if and only if the extension (minus the ".") is registered, meaning that osmdroidhas a driver to read map tiles/data from that source.
- Parameters:
extension- the file extension in question, minus the ".
-
registerArchiveFileProvider
static void registerArchiveFileProvider(Class<out IArchiveFile> provider, String fileExtension)
Registers a custom archive file provider
- Parameters:
fileExtension- without the dot
-
getArchiveFile
static IArchiveFile getArchiveFile(File pFile)
Return an implementation of IArchiveFile for the specified file.
-
getRegisteredExtensions
static Set<String> getRegisteredExtensions()
-
-
-
-