Package com.logicaldoc.email
Class EmailCacheManager
java.lang.Object
com.logicaldoc.email.EmailCacheManager
Handles the cache used to download the email messages downloaded from the
SMTP server.
- Since:
- 4.0
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteCache
(long accountId) getCache
(long accountId) Retrieves the cache for the specified email account
-
Constructor Details
-
EmailCacheManager
public EmailCacheManager()
-
-
Method Details
-
getCache
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
- Throws:
IOException
-