public class ServiceLoaderUtils
extends java.lang.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(java.lang.ClassLoader classLoader,
java.lang.String path,
java.lang.Class<?> type,
ServiceLoaderUtils.LineProcessor processor) |
static boolean |
load(java.lang.ClassLoader classLoader,
java.lang.String path,
ServiceLoaderUtils.PathFilter pathFilter,
ServiceLoaderUtils.ResourceProcessor processor) |
public static boolean load(@Nonnull java.lang.ClassLoader classLoader, @Nonnull java.lang.String path, @Nonnull java.lang.Class<?> type, @Nonnull ServiceLoaderUtils.LineProcessor processor)
public static boolean load(@Nonnull java.lang.ClassLoader classLoader, @Nonnull java.lang.String path, @Nonnull ServiceLoaderUtils.PathFilter pathFilter, @Nonnull ServiceLoaderUtils.ResourceProcessor processor)