net.sf.jasperreports.jsf.resource.providers
Class ClasspathResourceFactory

java.lang.Object
  extended by net.sf.jasperreports.jsf.resource.providers.ClasspathResourceFactory
All Implemented Interfaces:
ResourceFactory

public class ClasspathResourceFactory
extends Object
implements ResourceFactory


Constructor Summary
ClasspathResourceFactory()
           
 
Method Summary
 boolean acceptsResource(String name)
           
 Resource createResource(FacesContext context, String name)
          Creates a new Resource instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathResourceFactory

public ClasspathResourceFactory()
Method Detail

acceptsResource

public boolean acceptsResource(String name)
Specified by:
acceptsResource in interface ResourceFactory

createResource

public Resource createResource(FacesContext context,
                               String name)
Description copied from interface: ResourceFactory
Creates a new Resource instance

Specified by:
createResource in interface ResourceFactory
Parameters:
context - the current FacesContext
name - the resource name
Returns:
a new Resource instance


Copyright © 2009 SourceForge.net. All Rights Reserved.