Interface ResourceLoader
- All Known Implementing Classes:
ClassLoaderResourceLoader
,DirResourceLoader
,FileResourceLoader
,KabResourceLoader
,ResourceLoaderList
public interface ResourceLoader
Interface for loading resources from a filename. This abstracts the process
of getting an
InputStream
from an abstract source.- Since:
- 1.0
- Version:
- 2018-08-19
-
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String file) Return an input stream for the specified file.
-
Method Details
-
getResource
Return an input stream for the specified file.- Parameters:
file
- the file to return an input stream for- Returns:
- the input stream or null
-