Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.util
Class ClassLoaderResource

    java.lang.Object
      net.sf.jasperreports.engine.util.ClassLoaderResource

    public class ClassLoaderResource

extends java.lang.Object

Details of a resource found on a classloader.

Version:
  $Id: ClassLoaderResource.java 3809 2010-05-19 15:04:43Z lucianc $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
  `JRLoader.getClassLoaderResources(String)`

Constructor Summary
`ClassLoaderResource(java.net.URL url, java.lang.ClassLoader classLoader)` Creates a classloader resource.

Method Summary
`java.lang.ClassLoader` | `getClassLoader()` Returns the classloader on which the resource was found.
`java.net.URL` | `getUrl()` Returns the URL of the resource.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ClassLoaderResource

    public ClassLoaderResource(java.net.URL url,
                               java.lang.ClassLoader classLoader)

  Creates a classloader resource.

  Parameters:
    `url` - the URL of the resource
    `classLoader` - the classloader on which it was found

Method Detail

### getUrl

    public java.net.URL getUrl()

  Returns the URL of the resource.

  Returns:
    the resource URL

### getClassLoader

    public java.lang.ClassLoader getClassLoader()

  Returns the classloader on which the resource was found.

  Returns:
    the classloader that found the resource

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com