Class FileResourceSystem
- java.lang.Object
- 
- net.officefloor.web.resource.file.FileResourceSystem
 
- 
- All Implemented Interfaces:
- ResourceSystem
 
 public class FileResourceSystem extends java.lang.Object implements ResourceSystem ResourceSystemfor files.- Author:
- Daniel Sagenschneider
 
- 
- 
Constructor SummaryConstructors Constructor Description FileResourceSystem(ResourceSystemContext context)Instantiate.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathgetResource(java.lang.String path)Obtains thePathto the resource.
 
- 
- 
- 
Constructor Detail- 
FileResourceSystempublic FileResourceSystem(ResourceSystemContext context) throws java.io.IOException Instantiate.- Parameters:
- context-- ResourceSystemContext.
- Throws:
- java.io.IOException- If to setup file resources.
 
 
- 
 - 
Method Detail- 
getResourcepublic java.nio.file.Path getResource(java.lang.String path) throws java.io.IOExceptionDescription copied from interface:ResourceSystemObtains thePathto the resource.- Specified by:
- getResourcein interface- ResourceSystem
- Parameters:
- path- Path for the resource.
- Returns:
- Pathif resource found, otherwise- null.
- Throws:
- java.io.IOException- If failure in obtaining- Path.
 
 
- 
 
-