com.aspose.email

com.aspose.email

Class InternalCache

public class InternalCache
extends Object

Internal cache.

Constructor Summary
 
Method Summary
staticvoid
close()
Close cache.
staticvoid
init(String path, EnumSet<InternalCacheMode>mode)
Initialize cache.
 
Methods inherited from class java.lang.Object
 

    • Constructor Detail

      • InternalCache

        public InternalCache()
    • Method Detail

      • init

        public static void init(String path,
                                EnumSet<InternalCacheMode> mode)
        Initialize cache. All temporary files from previous sessions will be deleted

        Parameters:
        path - The temporary storage path.
        mode - The mode.
      • close

        public static void close()
        Close cache. All opened file descriptors will be closed. All temporary files will be deleted