public class GitStreamSource extends StreamSource
| Constructor and Description |
|---|
GitStreamSource(java.lang.String sha1,
RepositorySpi repository)
Create a new GitStreamSource 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 GitStreamSource(java.lang.String sha1,
RepositorySpi repository)
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