Package org.rundeck.storage.api
Interface HasInputStream
-
- All Known Subinterfaces:
ContentMeta
public interface HasInputStream
HasInputStream provides lazy loading of an input stream that might cause an exception- Since:
- 2014-02-19
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
long
writeContent(java.io.OutputStream outputStream)
Write the content stream to the output stream
-
-
-
Method Detail
-
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- Parameters:
outputStream
- output stream- Returns:
- the content stream
- Throws:
java.io.IOException
- on io error
-
-