Class ResourceTypeFactory
- java.lang.Object
-
- org.smallmind.nutsnbolts.resource.ResourceTypeFactory
-
- All Implemented Interfaces:
ResourceFactory
public class ResourceTypeFactory extends Object implements ResourceFactory
-
-
Constructor Summary
Constructors Constructor Description ResourceTypeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcecreateResource(String scheme, String path)ResourceSchemesgetValidSchemes()
-
-
-
Method Detail
-
getValidSchemes
public ResourceSchemes getValidSchemes()
- Specified by:
getValidSchemesin interfaceResourceFactory
-
createResource
public Resource createResource(String scheme, String path) throws ResourceException
- Specified by:
createResourcein interfaceResourceFactory- Throws:
ResourceException
-
-