public class ClasspathResourceManager
extends Object
implements ResourceManager
Loads documentation resources from the classpath.
| Constructor and description |
|---|
ClasspathResourceManager()Creates a resource manager backed by this class's class loader. |
ClasspathResourceManager(ClassLoader classLoader)Creates a resource manager backed by the supplied class loader. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public InputStream |
getInputStream(String resourceName)Opens the named resource as an input stream. |
|
public Reader |
getReader(String resourceName)Returns a reader for the named resource.
|
Creates a resource manager backed by this class's class loader.
Creates a resource manager backed by the supplied class loader.
classLoader - the class loader to use for resource lookupsOpens the named resource as an input stream.
resourceName - the classpath resource to loadnull if the resource does not existCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.