org.springframework.core.io
Interface InputStreamSource

All Known Subinterfaces:
Resource
All Known Implementing Classes:
AbstractResource

public interface InputStreamSource

Simple interface for objects that are sources for java.io.InputStreams. Base interface for Spring's Resource interface.

Since:
20.01.2004
Author:
Juergen Hoeller
See Also:
Resource

Method Summary
 InputStream getInputStream()
          Return an InputStream.
 

Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Return an InputStream. It is expected that each call creates a fresh stream.

Throws:
IOException - if the stream could not be opened


Copyright (C) 2003-2004 The Spring Framework Project.