com.aspose.email
Class InternalCache

java.lang.Object
  extended by com.aspose.email.InternalCache

public class InternalCache
extends Object

Internal cache.


Constructor Summary
InternalCache()
           
 
Method Summary
static void close()
          Close cache.
static void init(String path, EnumSet<InternalCacheMode> mode)
          Initialize cache.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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



Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.