Package org.rundeck.storage.api
Interface HasInputStream
-
- All Known Subinterfaces:
ContentMeta
public interface HasInputStreamHasInputStream 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.InputStreamgetInputStream()longwriteContent(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.IOExceptionWrite the content stream to the output stream- Parameters:
outputStream- output stream- Returns:
- the content stream
- Throws:
java.io.IOException- on io error
-
-