net.sf.mmm.util.resource.api
Interface BrowsableResourceFactory

All Superinterfaces:
DataResourceFactory
All Known Implementing Classes:
AbstractBrowsableResourceFactory, BrowsableResourceFactoryImpl

@ComponentSpecification
public interface BrowsableResourceFactory
extends DataResourceFactory

This is the interface for a factory used to create instances of BrowsableResource.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)
See Also:
DataResourceFactory

Method Summary
 BrowsableResource createBrowsableResource(String resourceUri)
          This method creates a new BrowsableResource from the given resourceUri.
 
Methods inherited from interface net.sf.mmm.util.resource.api.DataResourceFactory
createDataResource
 

Method Detail

createBrowsableResource

BrowsableResource createBrowsableResource(String resourceUri)
                                          throws ResourceUriUndefinedException
This method creates a new BrowsableResource from the given resourceUri. The following URI-schemes are guaranteed to be supported:
scheme example URI default implementation
file file:///tmp/foo.xml FileResource

Parameters:
resourceUri - is the absolute URI pointing to the location of the requested BrowsableResource.
Returns:
the requested BrowsableResource.
Throws:
ResourceUriUndefinedException - if the given resourceUri is undefined (e.g. the scheme is NOT supported).


Copyright © 2001-2010 mmm-Team. All Rights Reserved.