Class DefaultLocalMediaFileCacheService

  • All Implemented Interfaces:
    LocalMediaFileCacheService

    public class DefaultLocalMediaFileCacheService
    extends java.lang.Object
    implements LocalMediaFileCacheService

    Default implementation of LocalMediaFileCache interface. Allows to cache locally any stream and returns binary data as File or FileInputStream from local cache.

    To configure folder to use local cache use following property key:

     folder.folderQualifier.local.cache = true
     
    • Field Detail

      • CACHE_FILE_NAME_DELIM

        public static final java.lang.String CACHE_FILE_NAME_DELIM
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultLocalMediaFileCacheService

        public DefaultLocalMediaFileCacheService()