Uses of Interface
org.ldaptive.io.ResourceLoader
-
Packages that use ResourceLoader Package Description org.ldaptive.io -
-
Uses of ResourceLoader in org.ldaptive.io
Classes in org.ldaptive.io that implement ResourceLoader Modifier and Type Class Description class
ClasspathResourceLoader
Creates anInputStream
from a string that is prefixed with 'classpath:'.class
FileResourceLoader
Creates anInputStream
from a string that is prefixed with 'file:'.class
URLResourceLoader
Creates anInputStream
from a string that is aURL
.Fields in org.ldaptive.io declared as ResourceLoader Modifier and Type Field Description private static ResourceLoader[]
ResourceUtils. customResourceLoaders
Custom resource loaders.private static ResourceLoader[]
ResourceUtils. DEFAULT_RESOURCE_LOADERS
Default resource loaders.Methods in org.ldaptive.io with parameters of type ResourceLoader Modifier and Type Method Description static 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.
-