net.sf.jasperreports.jsf.resource.providers
Class URLResourceFactory
java.lang.Object
net.sf.jasperreports.jsf.resource.providers.URLResourceFactory
- All Implemented Interfaces:
- ResourceFactory
public class URLResourceFactory
- extends Object
- implements ResourceFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLResourceFactory
public URLResourceFactory()
acceptsResource
public boolean acceptsResource(String name)
- Specified by:
acceptsResource in interface ResourceFactory
createResource
public Resource createResource(FacesContext context,
String name)
throws IOException
- 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
- Throws:
IOException - if the resource can't be loaded.
Copyright © 2009 SourceForge.net. All Rights Reserved.