Class FileResourceLoader
java.lang.Object
com.tccc.kos.commons.util.resource.FileResourceLoader
- All Implemented Interfaces:
ResourceLoader
Loader that searches resources on the filesystem.
- Since:
- 1.0
- Version:
- 2018-08-19
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String file) Return an input stream for the specified file.
-
Constructor Details
-
FileResourceLoader
public FileResourceLoader()
-
-
Method Details
-
getResource
Description copied from interface:ResourceLoader
Return an input stream for the specified file.- Specified by:
getResource
in interfaceResourceLoader
- Parameters:
file
- the file to return an input stream for- Returns:
- the input stream or null
-