Package com.thebuzzmedia.exiftool
Interface VersionCache
-
public interface VersionCache
Parseexiftool
version and put it in a cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Invalidate all entries.Version
load(String exifTool, CommandExecutor executor)
Executeexiftool
using givenexecutor
to get version ofexiftool
executable and put results in a cache.long
size()
Get current size of cache (a.k.a number of entries).
-
-
-
Method Detail
-
load
Version load(String exifTool, CommandExecutor executor)
Executeexiftool
using givenexecutor
to get version ofexiftool
executable and put results in a cache.- Parameters:
exifTool
- Path ofexiftool
executable.executor
- Executor used to executeexiftool
command.- Returns:
- Version,
null
if version cannot be parsed.
-
size
long size()
Get current size of cache (a.k.a number of entries).- Returns:
- Cache Size.
-
clear
void clear()
Invalidate all entries.
-
-