|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceFinder
An interface used for finding and opening (loading) new resources.
ResourceConfig will use all registered finders to obtain classes
to be used as resource classes and/or providers. Method open() doesn't
need to be called on all returned resource names, ResourceConfig can ignore
some of them.
Currently, all resource names ending with ".class" will be accepted and processed (opened).
| Method Summary | |
|---|---|
java.io.InputStream |
open()
Open current resource. |
void |
remove()
This operation is not supported by ResourceFinder & throws UnsupportedOperationException
when invoked. |
void |
reset()
Reset the ResourceFinder instance. |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next |
| Method Detail |
|---|
java.io.InputStream open()
void reset()
ResourceFinder instance.
Upon calling this method the implementing class MUST reset its internal state to the initial state.
void remove()
ResourceFinder & throws UnsupportedOperationException
when invoked.
remove in interface java.util.Iterator<java.lang.String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||