net.fortuna.mstor.util
Class CapabilityHints

java.lang.Object
  extended by net.fortuna.mstor.util.CapabilityHints

public final class CapabilityHints
extends java.lang.Object

A set of keys used to enable capability features.

Author:
Ben Fortuna
 $Id$

 Created on 8/06/2006
 

Field Summary
static java.lang.String KEY_MBOX_CACHE_BUFFERS
          A capability hint to indicate whether buffers used to read mbox message data are cached for faster access.
static java.lang.String KEY_MBOX_MOZILLA_COMPATIBILITY
          A capability hint to enable mozilla mbox compatibility.
static java.lang.String KEY_MBOX_RELAXED_PARSING
          A capability hint to enable relaxed mbox parsing.
 
Method Summary
static boolean isHintEnabled(java.lang.String key)
           
static void setHintEnabled(java.lang.String key, boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_MBOX_CACHE_BUFFERS

public static final java.lang.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 java.lang.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 java.lang.String KEY_MBOX_RELAXED_PARSING
A capability hint to enable relaxed mbox parsing.

See Also:
Constant Field Values
Method Detail

setHintEnabled

public static void setHintEnabled(java.lang.String key,
                                  boolean enabled)
Parameters:
key -
value -

isHintEnabled

public static boolean isHintEnabled(java.lang.String key)
Parameters:
key -
Returns:


Copyright © 2004-2011 Micronode. All Rights Reserved.