Package com.logicaldoc.email
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 Summary
Constructors Constructor Description EmailCacheManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteCache(long accountId)EmailCachegetCache(long accountId)Retrieves the cache for the specified email account
-
-
-
Method Detail
-
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
-
-