Package net.sf.jasperreports.engine.util
Class ClassLoaderResource
java.lang.Object
net.sf.jasperreports.engine.util.ClassLoaderResource
Details of a resource found on a classloader.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClassLoaderResource(URL url, ClassLoader classLoader) Creates a classloader resource. -
Method Summary
Modifier and TypeMethodDescriptionReturns the classloader on which the resource was found.getUrl()Returns the URL of the resource.
-
Constructor Details
-
ClassLoaderResource
Creates a classloader resource.- Parameters:
url- the URL of the resourceclassLoader- the classloader on which it was found
-
-
Method Details
-
getUrl
Returns the URL of the resource.- Returns:
- the resource URL
-
getClassLoader
Returns the classloader on which the resource was found.- Returns:
- the classloader that found the resource
-