org.rundeck.storage.api
Interface HasInputStream
- All Known Subinterfaces:
- ContentMeta, ResourceMeta
- All Known Implementing Classes:
- BaseStreamResource, DataContent
public interface HasInputStream
HasInputStream provides lazy loading of an input stream that might cause an exception
- Since:
- 2014-02-19
Method Summary |
java.io.InputStream |
getInputStream()
|
long |
writeContent(java.io.OutputStream outputStream)
Write the content stream to the output stream |
getInputStream
java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
writeContent
long writeContent(java.io.OutputStream outputStream)
throws java.io.IOException
- Write the content stream to the output stream
- Returns:
- the content stream
- Throws:
java.io.IOException