public class ServiceLoaderUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceLoaderUtils.LineProcessor |
static interface |
ServiceLoaderUtils.PathFilter |
static interface |
ServiceLoaderUtils.ResourceProcessor |
Modifier and Type | Method and Description |
---|---|
static boolean |
load(ClassLoader classLoader,
String path,
Class<?> type,
ServiceLoaderUtils.LineProcessor processor) |
static boolean |
load(ClassLoader classLoader,
String path,
ServiceLoaderUtils.PathFilter pathFilter,
ServiceLoaderUtils.ResourceProcessor processor) |
public static boolean load(@Nonnull ClassLoader classLoader, @Nonnull String path, @Nonnull Class<?> type, @Nonnull ServiceLoaderUtils.LineProcessor processor)
public static boolean load(@Nonnull ClassLoader classLoader, @Nonnull String path, @Nonnull ServiceLoaderUtils.PathFilter pathFilter, @Nonnull ServiceLoaderUtils.ResourceProcessor processor)