Class Configurator

java.lang.Object
net.fortuna.ical4j.util.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 Details

    • 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
    • getIntProperty

      public static Optional<Integer> getIntProperty(String key)
    • getEnumProperty

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

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