public class ArchiveFileFactory extends Object
Constructor and Description |
---|
ArchiveFileFactory() |
Modifier and Type | Method and Description |
---|---|
static IArchiveFile |
getArchiveFile(File pFile)
Return an implementation of
IArchiveFile for the specified file. |
static boolean |
isFileExtensionRegistered(String extension)
Returns true if and only if the extension (minus the ".") is registered, meaning that osmdroid
has a driver to read map tiles/data from that source.
|
static void |
registerArchiveFileProvider(Class<? extends IArchiveFile> provider,
String fileExtension)
Registers a custom archive file provider
|
public static boolean isFileExtensionRegistered(String extension)
extension
- the file extension in question, minus the "."public static void registerArchiveFileProvider(Class<? extends IArchiveFile> provider, String fileExtension)
provider
- fileExtension
- without the dotpublic static IArchiveFile getArchiveFile(File pFile)
IArchiveFile
for the specified file.Copyright © 2015. All Rights Reserved.