org.gmetrics.util.io
Interface Resource
- All Known Implementing Classes:
- ClassPathResource, UrlResource
public interface Resource
Defines the interface for objects that represent a resource (e.g. a file) and
provide access to its InputStream.
The design of this (resource) framework is heavily influenced by the Resource classes
within The Spring Framework.
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 |
java.io.InputStream |
getInputStream()
Return the InputStream for this resource. |
getInputStream
java.io.InputStream getInputStream()
throws java.io.IOException
- Return the InputStream for this resource.
- Throws:
java.io.IOException - - if an error occurs opening the InputStream
Copyright © 2010. All Rights Reserved.