Package net.fortuna.ical4j.util
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Enum<T>>
Optional<T>getEnumProperty(Class<T> clazz, String key)
static Optional<Integer>
getIntProperty(String key)
static <T> Optional<T>
getObjectProperty(String key)
static Optional<String>
getProperty(String key)
-
-
-
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)
-
-