- All Known Implementing Classes:
An interface used for finding and opening (loading) new resources.
ResourceConfigwill 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,
ResourceConfigcan ignore some of them. Currently, all resource names ending with ".class" will be accepted and processed (opened). Extends
AutoCloseablesince version 2.19. The
close()method is used to release allocated/opened resources (such as streams). When a resource finder is closed no other method should be invoked on it.
- Pavel Bucek
openInputStream open()Open current resource.
- input stream from which current resource can be loaded.
closevoid close()Release allocated/opened resources (such as streams). When the resource finder is closed no other method should be invoked on it.
resetvoid reset()Reset the
ResourceFinderinstance. Upon calling this method the implementing class MUST reset its internal state to the initial state.
removevoid remove()This operation is not supported by