Package com.google.cloud.tools.jib.blob
Interface Blob
-
public interface Blob
Holds a BLOB source for writing to anOutputStream
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isRetryable()
WhetherwriteTo(OutputStream)
is retryable.BlobDescriptor
writeTo(java.io.OutputStream outputStream)
Writes the BLOB to anOutputStream
.
-
-
-
Method Detail
-
writeTo
BlobDescriptor writeTo(java.io.OutputStream outputStream) throws java.io.IOException
Writes the BLOB to anOutputStream
. Does not close theoutputStream
.- Parameters:
outputStream
- theOutputStream
to write to- Returns:
- the
BlobDescriptor
of the written BLOB - Throws:
java.io.IOException
- if writing the BLOB fails
-
isRetryable
boolean isRetryable()
WhetherwriteTo(OutputStream)
is retryable.- Returns:
true
ifwriteTo(OutputStream)
can be called multiple times.false
otherwise.
-
-