org.gmetrics.util.io
Interface ResourceFactory

All Known Implementing Classes:
DefaultResourceFactory

public interface ResourceFactory

Defines the interface for factory objects that create/return Resource instances.

This is an internal class and its API is subject to change.

Version:
$Revision: 24 $ - $Date: 2009-12-10 21:17:05 -0500 (Thu, 10 Dec 2009) $
Author:
Chris Mair

Method Summary
 Resource getResource(java.lang.String path)
          Return a Resource instance suitable for the specified path.
 

Method Detail

getResource

Resource getResource(java.lang.String path)
                     throws java.io.IOException
Return a Resource instance suitable for the specified path.

Parameters:
path - - the path to the resource. This may be optionally prefixed by
Throws:
java.io.IOException - - if an error occurs opening the InputStream


Copyright © 2010. All Rights Reserved.