|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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 name| Method Detail |
|---|
public String getName()
Resource
getName in interface Resourcepublic String getSimpleName()
getSimpleName in interface Resource
public URL getLocation()
throws MalformedURLException
Resource
getLocation in interface ResourceMalformedURLExceptionpublic InputStream getInputStream()
ResourceUsers of this stream are responsible of closing it
getInputStream in interface Resourcepublic String getPath()
Resource
getPath in interface Resourcepublic String toString()
toString in class Objectprotected javax.faces.context.FacesContext getFacesContext()
protected JRFacesContext getJRFacesContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||