|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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 Resourcepublic String getSimpleName()
getSimpleName in interface Resource
public InputStream getInputStream()
throws IOException
ResourceUsers of this stream are responsible of closing it
getInputStream in interface ResourceIOException
public URL getLocation()
throws IOException
Resource
getLocation in interface ResourceIOExceptionpublic String getPath()
Resource
getPath in interface Resourcepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||