net.sf.jasperreports.jsf.resource.providers
Class ClasspathResourceFactory
java.lang.Object
net.sf.jasperreports.jsf.resource.providers.ClasspathResourceFactory
- All Implemented Interfaces:
- ResourceFactory
public class ClasspathResourceFactory
- extends Object
- implements ResourceFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathResourceFactory
public ClasspathResourceFactory()
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 FacesContextname - the resource name
- Returns:
- a new Resource instance
Copyright © 2009 SourceForge.net. All Rights Reserved.