org.objectweb.kilim.repository
Interface ResourceLoader

All Known Implementing Classes:
ClassLoaderResourceLoader

public interface ResourceLoader

Author:
dutoo Resource loading wrapper.

Method Summary
 java.io.InputStream getResource(java.lang.String resourcePath)
          Method getResource.
 

Method Detail

getResource

public java.io.InputStream getResource(java.lang.String resourcePath)
                                throws ResourceNotFoundException
Method getResource. Loads a data resource.

Parameters:
resourcePath - the path identifying the resource to be loaded
Returns:
InputStream the resource data stream
Throws:
ResourceNotFoundException - if unable to find the resource