Package org.icij.datashare.extension
Class ExtensionLoader
- java.lang.Object
-
- org.icij.datashare.extension.ExtensionLoader
-
public class ExtensionLoader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description ExtensionLoader(Path extensionsDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> voidload(java.util.function.Consumer<T> registerFunc, java.util.function.Predicate<Class<?>> predicate)
-
-
-
Constructor Detail
-
ExtensionLoader
public ExtensionLoader(Path extensionsDir)
-
-
Method Detail
-
load
public <T> void load(java.util.function.Consumer<T> registerFunc, java.util.function.Predicate<Class<?>> predicate) throws FileNotFoundException- Throws:
FileNotFoundException
-
-