Groovy Documentation

org.gmetrics.util.io
Interface Resource


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.

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


Method Summary
InputStream getInputStream()

Return the InputStream for this resource.

 

Method Detail

getInputStream

InputStream getInputStream()
Return the InputStream for this resource.
throws:
IOException - if an error occurs opening the InputStream


 

Groovy Documentation