public class FileImageRetriever extends Object implements IImageRetriever
| Constructor and Description |
|---|
FileImageRetriever() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createFileURL(File what,
String mime,
String... convs)
Creates a safe file reference.
|
long |
getCheckInterval()
Returns the check interval, in millis.
|
String |
getRetrieverKey()
Returns an unique string identifier, usable in file names and URL's, to represent all images
obtained from this retriever.
|
IImageReference |
loadImage(String key) |
public static String createFileURL(File what, String mime, String... convs)
what - public long getCheckInterval()
IImageRetrievergetCheckInterval in interface IImageRetriever@Nonnull public String getRetrieverKey()
IImageRetrievergetRetrieverKey in interface IImageRetrieverpublic IImageReference loadImage(@Nonnull String key) throws Exception
loadImage in interface IImageRetrieverExceptionCopyright © 2017 etc.to. All rights reserved.