Package ch.tocco.nice2.appmodule.impl
Class DevelopmentModuleReader
java.lang.Object
ch.tocco.nice2.appmodule.impl.DevelopmentModuleReader
- All Implemented Interfaces:
ModuleReader
A
ModuleReader that is used during development (when RunEnv.DEVELOPMENT is active)
and reads the resources directly from the 'resources' directory in the source tree.
This allows easy reloading of resources without restarting or re-building the application.-
Constructor Summary
ConstructorsConstructorDescriptionDevelopmentModuleReader(Path developmentResourcesPath, ModuleReader delegate) -
Method Summary
-
Constructor Details
-
DevelopmentModuleReader
-
-
Method Details
-
getFile
- Specified by:
getFilein interfaceModuleReader- Throws:
IOException
-