public class SendFile extends java.lang.Object implements BamLargePayload, java.io.Serializable
Constructor and Description |
---|
SendFile(java.lang.String sha1,
StreamSource source)
Creates a notification message
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns the content, freeing it as it's read.
|
java.lang.String |
getSha1()
Returns the sha1 hash of the file that's been changed.
|
StreamSource |
getStreamSource() |
java.io.InputStream |
openInputStream()
Opens the content for reading, allowing multiple reads.
|
java.lang.String |
toString() |
public SendFile(java.lang.String sha1, StreamSource source)
public java.lang.String getSha1()
public StreamSource getStreamSource()
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.io.InputStream openInputStream() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object