public class GitJarStreamSource extends StreamSource
Constructor and Description |
---|
GitJarStreamSource(java.lang.String sha1,
GitCommitJar gitJar)
Create a new GitJarStreamSource for the named file
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
Returns an input stream, freeing the results
|
java.io.InputStream |
openInputStream()
Returns an input stream, without freeing the results
|
close, toString
public GitJarStreamSource(java.lang.String sha1, GitCommitJar gitJar)
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class StreamSource
java.io.IOException
public java.io.InputStream openInputStream() throws java.io.IOException
openInputStream
in class StreamSource
java.io.IOException