net.fortuna.ical4j.util

Class CompatibilityHints


public final class CompatibilityHints
extends java.lang.Object

$Id: CompatibilityHints.java,v 1.10 2008/12/16 12:34:53 fortuna Exp $ Created on 9/03/2006 A set of keys used to enable compatibility features.

Field Summary

static String
KEY_NOTES_COMPATIBILITY
A system property key used to enable compatibility with Lotus Notes-generated iCalendar files.
static String
KEY_OUTLOOK_COMPATIBILITY
A system property key used to enable compatibility with Outlook/Exchange-generated iCalendar files.
static String
KEY_RELAXED_PARSING
A system property key to enable relaxed parsing.
static String
KEY_RELAXED_UNFOLDING
A system property key to enable relaxed unfolding.
static String
KEY_RELAXED_VALIDATION
A system property key to enable relaxed validation.

Method Summary

static boolean
isHintEnabled(String key)
static void
setHintEnabled(String key, boolean enabled)

Field Details

KEY_NOTES_COMPATIBILITY

public static final String KEY_NOTES_COMPATIBILITY
A system property key used to enable compatibility with Lotus Notes-generated iCalendar files. Notes compatibility is enabled by setting this system property to "true".

KEY_OUTLOOK_COMPATIBILITY

public static final String KEY_OUTLOOK_COMPATIBILITY
A system property key used to enable compatibility with Outlook/Exchange-generated iCalendar files. Outlook compatibility is enabled by setting this system property to "true".

KEY_RELAXED_PARSING

public static final String KEY_RELAXED_PARSING
A system property key to enable relaxed parsing. Relaxed parsing is enabled by setting this system property to "true".

KEY_RELAXED_UNFOLDING

public static final String KEY_RELAXED_UNFOLDING
A system property key to enable relaxed unfolding. Relaxed unfolding is enabled by setting this system property to "true".

KEY_RELAXED_VALIDATION

public static final String KEY_RELAXED_VALIDATION
A system property key to enable relaxed validation. Relaxed validation disables validation of certain conformance rules that many iCalendar implementations do not conform to. Relaxed validation is enabled by setting this system property to "true".

Method Details

isHintEnabled

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

setHintEnabled

public static void setHintEnabled(String key,
                                  boolean enabled)
Parameters:
key -