org.mycore.services.imaging
Class MCRImgCacheCommands

java.lang.Object
  extended by org.mycore.frontend.cli.MCRAbstractCommands
      extended by org.mycore.services.imaging.MCRImgCacheCommands
All Implemented Interfaces:
MCRExternalCommandInterface

public class MCRImgCacheCommands
extends MCRAbstractCommands


Field Summary
 
Fields inherited from class org.mycore.frontend.cli.MCRAbstractCommands
command
 
Constructor Summary
MCRImgCacheCommands()
          The empty constructor.
 
Method Summary
static List<String> cacheDerivate(String ID)
           
static void cacheFile(MCRFile image, boolean cacheSizeOnly)
           
static void cacheFile(String ID)
           
static List<String> createCache()
           
static List<String> deleteCache()
           
static List<String> deleteCachedDerivate(String ID)
           
static void deleteCachedFile(String ID)
           
 
Methods inherited from class org.mycore.frontend.cli.MCRAbstractCommands
getPossibleCommands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRImgCacheCommands

public MCRImgCacheCommands()
The empty constructor.

Method Detail

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)