|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
This interface specifies resource loading behavior. Classloader implementations can use such implementations for loading bytes corresponding to given classes.
| Method Summary | |
|---|---|
void |
close()
Releases all resources that this instance holds. |
URL |
getURL(String resourceName)
|
byte[] |
loadBytes(String resourceName)
Loads a the bytes of the specified resources and returns them. |
| Method Detail |
public byte[] loadBytes(String resourceName)
resourceName -
bytes, or null if no resource could
be found for the given name, or if the bytes could not be loaded for some reason.public URL getURL(String resourceName)
resourceName - the name of a resource.
URL corresponding to the given resource.public void close()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||