org.springframework.core.io
Interface InputStreamSource
- All Known Subinterfaces:
- Resource
- public interface InputStreamSource
Simple interface for objects that are sources for java.io.InputStreams.
Base interface for Spring's Resource interface.
- Author:
- Juergen Hoeller
- Since: 20.01.2004
- See Also: Resource
getInputStream
public InputStream getInputStream()
throws java.io.IOException
- Return an InputStream.
It is expected that each call creates a fresh stream.
- Throws:
- IOException - if the stream could not be opened