Class Configurator


  • public final class Configurator
    extends Object
    $Id$

    Created on 06/02/2008

    Provides configuration properties specified either as system properties or in an ical4j.properties configuration file.

    • Method Detail

      • getProperty

        public static Optional<String> getProperty​(String key)
        Parameters:
        key - a compatibility hint key
        Returns:
        true if the specified compatibility hint is enabled, otherwise false
      • getEnumProperty

        public static <T extends Enum<T>> Optional<T> getEnumProperty​(Class<T> clazz,
                                                                      String key)
      • getObjectProperty

        public static <T> Optional<T> getObjectProperty​(String key)