Package net.fortuna.mstor.util
Class CapabilityHints
- java.lang.Object
-
- net.fortuna.mstor.util.CapabilityHints
-
public final class CapabilityHints extends Object
A set of keys used to enable capability features.
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_MBOX_CACHE_BUFFERS
A capability hint to indicate whether buffers used to read mbox message data are cached for faster access.static String
KEY_MBOX_MOZILLA_COMPATIBILITY
A capability hint to enable mozilla mbox compatibility.static String
KEY_MBOX_RELAXED_PARSING
A capability hint to enable relaxed mbox parsing.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isHintEnabled(String key)
static void
setHintEnabled(String key, boolean enabled)
-
-
-
Field Detail
-
KEY_MBOX_CACHE_BUFFERS
public static final String KEY_MBOX_CACHE_BUFFERS
A capability hint to indicate whether buffers used to read mbox message data are cached for faster access.- See Also:
- Constant Field Values
-
KEY_MBOX_MOZILLA_COMPATIBILITY
public static final String KEY_MBOX_MOZILLA_COMPATIBILITY
A capability hint to enable mozilla mbox compatibility.- See Also:
- Constant Field Values
-
KEY_MBOX_RELAXED_PARSING
public static final String KEY_MBOX_RELAXED_PARSING
A capability hint to enable relaxed mbox parsing.- See Also:
- Constant Field Values
-
-