Package com.tccc.kos.commons.kab
Class KabResourceLoader
java.lang.Object
com.tccc.kos.commons.kab.KabResourceLoader
- All Implemented Interfaces:
ResourceLoader
Loader that searches resources in a specified kab.
- Since:
- 1.0
- Version:
- 2024-10-14
-
Constructor Summary
ConstructorsConstructorDescriptionKabResourceLoader
(KabFile kab) Create a ResourceLoader that searches the specified kab. -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String file) Return an input stream for the specified file.
-
Constructor Details
-
KabResourceLoader
Create a ResourceLoader that searches the specified kab.- Parameters:
kab
- the kab to search
-
-
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
-