org.mycore.services.imaging
Class MCRImgCacheCommands
java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.services.imaging.MCRImgCacheCommands
- All Implemented Interfaces:
- MCRExternalCommandInterface
public class MCRImgCacheCommands
- extends MCRAbstractCommands
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRImgCacheCommands
public MCRImgCacheCommands()
- The empty constructor.
createCache
public static final List<String> createCache()
deleteCache
public static List<String> deleteCache()
cacheDerivate
public static List<String> cacheDerivate(String ID)
deleteCachedDerivate
public static List<String> deleteCachedDerivate(String ID)
throws Exception
- Throws:
Exception
cacheFile
public static void cacheFile(String ID)
throws Exception
- Throws:
Exception
deleteCachedFile
public static void deleteCachedFile(String ID)
throws Exception
- Throws:
Exception
cacheFile
public static void cacheFile(MCRFile image,
boolean cacheSizeOnly)