Class FileResourceSystem
java.lang.Object
net.officefloor.web.resource.file.FileResourceSystem
- All Implemented Interfaces:
ResourceSystem
ResourceSystem for files.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileResourceSystem
Instantiate.- Parameters:
context-ResourceSystemContext.- Throws:
IOException- If to setup file resources.
-
-
Method Details
-
getResource
Description copied from interface:ResourceSystemObtains thePathto the resource.- Specified by:
getResourcein interfaceResourceSystem- Parameters:
path- Path for the resource.- Returns:
Pathif resource found, otherwisenull.- Throws:
IOException- If failure in obtainingPath.
-