|
||||||||||
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.URLResource
public final class URLResource
Constructor Summary | |
---|---|
protected |
URLResource(URL location)
|
Method Summary | |
---|---|
InputStream |
getInputStream()
Obtains an InputStream which can be used to read the resource data. |
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 URLResource(URL location)
Method Detail |
---|
public String getName()
Resource
getName
in interface Resource
public String getSimpleName()
getSimpleName
in interface Resource
public InputStream getInputStream() throws IOException
Resource
Users of this stream are responsible of closing it
getInputStream
in interface Resource
IOException
public URL getLocation() throws IOException
Resource
getLocation
in interface Resource
IOException
public String getPath()
Resource
getPath
in interface Resource
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |