Uses of Interface
org.ldaptive.io.ResourceLoader
Packages that use ResourceLoader
-
Uses of ResourceLoader in org.ldaptive.io
Classes in org.ldaptive.io that implement ResourceLoaderModifier and TypeClassDescriptionclass
Creates anInputStream
from a string that is prefixed with 'classpath:'.class
Creates anInputStream
from a string that is prefixed with 'file:'.class
Creates anInputStream
from a string that is aURL
.Fields in org.ldaptive.io declared as ResourceLoaderModifier and TypeFieldDescriptionprivate static ResourceLoader[]
ResourceUtils.customResourceLoaders
Custom resource loaders.private static final ResourceLoader[]
ResourceUtils.DEFAULT_RESOURCE_LOADERS
Default resource loaders.Methods in org.ldaptive.io with parameters of type ResourceLoaderModifier and TypeMethodDescriptionstatic InputStream
ResourceUtils.getResource
(String path, ResourceLoader... loaders) Attempts to find aResourceLoader
that supports the supplied path.static boolean
ResourceUtils.isResource
(String path, ResourceLoader... loaders) Returns whether the supplied path is supported by aResourceLoader
.static byte[]
ResourceUtils.readResource
(String path, ResourceLoader... loaders) Reads the data from the supplied resource path using the supplied loaders.static void
ResourceUtils.setCustomResourceLoaders
(ResourceLoader... loaders) Sets the custom resource loaders.