|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResolver
A convenience service for locating resources or services.
| Method Summary | |
|---|---|
java.io.InputStream |
getResourceAsStream(java.lang.Class pRequesterClass,
java.lang.String pDesiredRessource)
Locates the specified resource and provides an InputStream to it. |
java.io.InputStream |
getResourceAsStream(java.lang.String pDesiredRessource)
Locates the specified resource and provides an InputStream to it. |
java.net.URL |
resolve(java.lang.Class pRequesterClass,
java.lang.String pDesiredRessource)
Locates the specified resource and provides the exact location to it. |
java.net.URL |
resolve(java.lang.String pDesiredRessource)
Locates the specified resource and provides the exact location to it. |
| Method Detail |
|---|
java.net.URL resolve(java.lang.String pDesiredRessource)
throws ResourceNotFoundException
pDesiredRessource - the resource that is to be located explicitly.
ResourceNotFoundException - if the specified resource couldn't be found.
java.net.URL resolve(java.lang.Class pRequesterClass,
java.lang.String pDesiredRessource)
throws ResourceNotFoundException
pRequesterClass - the requesting class that is to be used as starting point for a relative search.pDesiredRessource - the resource that is to be located explicitly, this can be a relative location from
the given requester class.
ResourceNotFoundException - if the specified resource couldn't be found.
java.io.InputStream getResourceAsStream(java.lang.String pDesiredRessource)
throws ResourceNotFoundException
InputStream to it.
pDesiredRessource - the resource that is to be located explicitly.
ResourceNotFoundException - if the specified resource couldn't be found.
java.io.InputStream getResourceAsStream(java.lang.Class pRequesterClass,
java.lang.String pDesiredRessource)
throws ResourceNotFoundException
InputStream to it.
pRequesterClass - the requesting class that is to be used as starting point for a relative search.pDesiredRessource - the resource that is to be located explicitly, this can be a relative location from
the given requester class.
ResourceNotFoundException - if the specified resource couldn't be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||