java.lang.Object
net.fortuna.ical4j.util.CompatibilityHints
$Id$
Created on 9/03/2006
A set of keys used to enable compatibility features.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA system property key used to enable compatibility with Lotus Notes-generated iCalendar files.static final StringA system property key used to enable compatibility with Outlook/Exchange-generated iCalendar files.static final StringA system property key to enable relaxed parsing.static final StringA system property key to enable relaxed unfolding.static final StringA system property key to enable relaxed validation.static final StringSupport for vCard features that are not necessarily compatible with the iCalendar standard. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearHintEnabled(String key) static booleanisHintEnabled(String key) static voidsetHintEnabled(String key, boolean enabled)
-
Field Details
-
KEY_RELAXED_UNFOLDING
A system property key to enable relaxed unfolding. Relaxed unfolding is enabled by setting this system property to "true".- See Also:
-
KEY_RELAXED_PARSING
A system property key to enable relaxed parsing. Relaxed parsing is enabled by setting this system property to "true".- See Also:
-
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".- See Also:
-
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".- See Also:
-
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".- See Also:
-
KEY_VCARD_COMPATIBILITY
Support for vCard features that are not necessarily compatible with the iCalendar standard.- See Also:
-
-
Method Details
-
setHintEnabled
- Parameters:
key- a compatibility hint keyenabled- indicates whether to enable or disable the compatibility hint
-
clearHintEnabled
- Parameters:
key- a compatibility hint key
-
isHintEnabled
- Parameters:
key- a compatibility hint key- Returns:
- true if the specified compatibility hint is enabled, otherwise false
-