Class FilesResource
- java.lang.Object
-
- com.zfabrik.resources.provider.Resource
-
- com.zfabrik.impl.components.files.FilesResource
-
- All Implemented Interfaces:
com.zfabrik.files.IFilesComponent
public class FilesResource extends com.zfabrik.resources.provider.Resource implements com.zfabrik.files.IFilesComponentA files resource does just about nothing- Author:
- hb
-
-
Constructor Summary
Constructors Constructor Description FilesResource(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tas(java.lang.Class<T> clz)Retrieve a typed representation of the resource.java.io.FilegetRoot()
-
-
-
Method Detail
-
as
public <T> T as(java.lang.Class<T> clz)
Description copied from class:com.zfabrik.resources.provider.ResourceRetrieve a typed representation of the resource.- Overrides:
asin classcom.zfabrik.resources.provider.Resource- Parameters:
clz- expected return type- Returns:
- the expected return type instance represented by the resource or
nullif the type facade is not supported.
-
getRoot
public java.io.File getRoot() throws java.io.IOException- Throws:
java.io.IOException
-
-