|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.jsf.resource.ContextResource
public final class ContextResource
The Class ContextResourceLoader.
Constructor Summary | |
---|---|
protected |
ContextResource(String name)
Instantiates a new context resource loader. |
Method Summary | |
---|---|
protected javax.faces.context.FacesContext |
getFacesContext()
|
InputStream |
getInputStream()
Obtains an InputStream which can be used to read the resource data. |
protected JRFacesContext |
getJRFacesContext()
|
URL |
getLocation()
Obtains the URL location of this resource. |
String |
getName()
Name of the resource. |
String |
getPath()
The path part of the resource. |
String |
getSimpleName()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ContextResource(String name)
name
- the resource nameMethod Detail |
---|
public String getName()
Resource
getName
in interface Resource
public String getSimpleName()
getSimpleName
in interface Resource
public URL getLocation() throws MalformedURLException
Resource
getLocation
in interface Resource
MalformedURLException
public InputStream getInputStream()
Resource
Users of this stream are responsible of closing it
getInputStream
in interface Resource
public String getPath()
Resource
getPath
in interface Resource
public String toString()
toString
in class Object
protected javax.faces.context.FacesContext getFacesContext()
protected JRFacesContext getJRFacesContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |