public interface VersionCache
exiftool
version and put it in a cache.Modifier and Type | Method and Description |
---|---|
void |
clear()
Invalidate all entries.
|
Version |
load(String exifTool,
CommandExecutor executor)
Execute
exiftool using given executor to get version
of exiftool executable and put results in a cache. |
long |
size()
Get current size of cache (a.k.a number of entries).
|
Version load(String exifTool, CommandExecutor executor)
exiftool
using given executor
to get version
of exiftool
executable and put results in a cache.exifTool
- Path of exiftool
executable.executor
- Executor used to execute exiftool
command.null
if version cannot be parsed.long size()
void clear()
Copyright © 2015. All Rights Reserved.