|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Loader
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. |
java.net.URL |
getURL(java.lang.String resourceName)
|
byte[] |
loadBytes(java.lang.String resourceName)
Loads a the bytes of the specified resources and returns them. |
| Method Detail |
|---|
byte[] loadBytes(java.lang.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.java.net.URL getURL(java.lang.String resourceName)
resourceName - the name of a resource.
URL corresponding to the given resource.void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||