Class EmailCacheManager

java.lang.Object
com.logicaldoc.email.EmailCacheManager

public class EmailCacheManager extends Object
Handles the cache used to download the email messages downloaded from the SMTP server.
Since:
4.0
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • EmailCacheManager

      public EmailCacheManager()
  • Method Details

    • getCache

      public EmailCache getCache(long accountId) throws IOException
      Retrieves the cache for the specified email account
      Parameters:
      accountId - identifier of the account
      Returns:
      the cache of the account
      Throws:
      IOException - the cache file cannot be read
    • deleteCache

      public void deleteCache(long accountId) throws IOException
      Throws:
      IOException