com.caucho.server.admin
Class GitJarStreamSource

java.lang.Object
  extended by com.caucho.vfs.StreamSource
      extended by com.caucho.server.admin.GitJarStreamSource

public class GitJarStreamSource
extends StreamSource

Stream source for Hessian serialization of large data


Constructor Summary
GitJarStreamSource(java.lang.String sha1, GitCommitJar gitJar)
          Create a new GitJarStreamSource for the named file
 
Method Summary
 java.io.InputStream getInputStream()
          Returns an input stream, freeing the results
 java.io.InputStream openInputStream()
          Returns an input stream, without freeing the results
 
Methods inherited from class com.caucho.vfs.StreamSource
close, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitJarStreamSource

public GitJarStreamSource(java.lang.String sha1,
                          GitCommitJar gitJar)
Create a new GitJarStreamSource for the named file

Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Returns an input stream, freeing the results

Overrides:
getInputStream in class StreamSource
Throws:
java.io.IOException

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException
Returns an input stream, without freeing the results

Overrides:
openInputStream in class StreamSource
Throws:
java.io.IOException