|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
A single resource from a ResourceLoader
.
Method Summary | |
---|---|
String |
getName()
Get the relative resource name. |
long |
getSize()
Get the size of the resource, if known. |
URL |
getURL()
Get the complete URL of this resource. |
InputStream |
openStream()
Open an input stream to this resource. |
Method Detail |
---|
String getName()
URL getURL()
InputStream openStream() throws IOException
IOException
- if an I/O error occurslong getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |