net.sf.jasperreports.jsf.engine.interop
Class FacesFileResolver

java.lang.Object
  extended by net.sf.jasperreports.jsf.engine.interop.FacesFileResolver
All Implemented Interfaces:
net.sf.jasperreports.engine.util.FileResolver

public class FacesFileResolver
extends Object
implements net.sf.jasperreports.engine.util.FileResolver

Integration of the JasperReports' FileResolver with the plugin's resource resolving mechanism.

Author:
A. Alonso Dominguez

Constructor Summary
FacesFileResolver(UIReport report)
           
 
Method Summary
protected  File downloadResource(Resource resource)
           
protected  javax.faces.context.FacesContext getFacesContext()
           
protected  JRFacesContext getJRFacesContext()
           
protected  boolean isRemote(Resource resource)
           
 File resolveFile(String name)
           
protected  Resource resolveResource(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesFileResolver

public FacesFileResolver(UIReport report)
Method Detail

resolveFile

public File resolveFile(String name)
Specified by:
resolveFile in interface net.sf.jasperreports.engine.util.FileResolver

resolveResource

protected Resource resolveResource(String name)
                            throws IOException
Throws:
IOException

downloadResource

protected File downloadResource(Resource resource)
                         throws IOException
Throws:
IOException

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()

getJRFacesContext

protected JRFacesContext getJRFacesContext()

isRemote

protected boolean isRemote(Resource resource)
                    throws IOException
Throws:
IOException


Copyright © 2011 SourceForge.net. All Rights Reserved.