Class StreamableResource
java.lang.Object
org.apache.creadur.whisker.app.StreamableResource
- Direct Known Subclasses:
StreamableClassPathResource, StreamableFileNameResource, StreamableFileResource
A resource capable of being opened as a stream.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamableResource
public StreamableResource()
-
-
Method Details
-
open
Opens the resource as a stream.- Returns:
- open resource, not null
- Throws:
IOException- when resource cannot be opened as a stream
-