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, toStringpublic GitJarStreamSource(java.lang.String sha1,
GitCommitJar gitJar)
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class StreamSourcejava.io.IOExceptionpublic java.io.InputStream openInputStream()
throws java.io.IOException
openInputStream in class StreamSourcejava.io.IOException