Class PropertyLoader
java.lang.Object
com.github.weisj.darklaf.properties.PropertyLoader
Utility class for loading and parsing the contents of .property files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic PropertiesloadProperties(Class<?> clazz, String name, String path) static voidputProperties(Map<Object, Object> properties, Set<String> keys, Map<Object, Object> accumulator, UIDefaults currentDefaults, IconResolver iconResolver) static voidputProperties(Properties properties, Properties accumulator, UIDefaults currentDefaults, IconResolver iconResolver) static voidputProperties(Properties properties, UIDefaults defaults, IconResolver iconResolver) static voidreplaceProperties(Map<Object, Object> properties, Predicate<Map.Entry<Object, Object>> predicate, Function<Map.Entry<Object, Object>, Object> mapper) static <T> voidstatic <T> voidreplacePropertiesOfType(Class<T> type, Map<Object, Object> properties, Predicate<Map.Entry<Object, T>> predicate, Function<T, T> mapper) static <T> voidreplacePropertyEntriesOfType(Class<T> type, Map<Object, Object> properties, Predicate<Map.Entry<Object, T>> predicate, Function<Map.Entry<Object, T>, T> mapper)
-
Constructor Details
-
PropertyLoader
public PropertyLoader()
-
-
Method Details
-
loadProperties
-
putProperties
public static void putProperties(Properties properties, Properties accumulator, UIDefaults currentDefaults, IconResolver iconResolver) -
putProperties
public static void putProperties(Properties properties, UIDefaults defaults, IconResolver iconResolver) -
putProperties
public static void putProperties(Map<Object, Object> properties, Set<String> keys, Map<Object, Object> accumulator, UIDefaults currentDefaults, IconResolver iconResolver) -
replaceProperties
-
replacePropertiesOfType
-
replacePropertiesOfType
-
replacePropertyEntriesOfType
-
getReferencePrefix
-