com.caucho.env.git
Class GitCommitJar

java.lang.Object
  extended by com.caucho.env.git.GitCommitJar

public class GitCommitJar
extends java.lang.Object

Tree structure from a jar


Constructor Summary
GitCommitJar(java.io.InputStream is)
           
GitCommitJar(Path jar)
           
 
Method Summary
 void close()
           
static GitCommitJar createDirectory(Path dir)
           
 java.lang.String findPath(java.lang.String sha1)
           
 java.lang.String[] getCommitList()
           
 java.lang.String getDigest()
           
 java.io.InputStream openFile(java.lang.String sha1)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitCommitJar

public GitCommitJar(Path jar)
             throws java.io.IOException
Throws:
java.io.IOException

GitCommitJar

public GitCommitJar(java.io.InputStream is)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

createDirectory

public static GitCommitJar createDirectory(Path dir)
                                    throws java.io.IOException
Throws:
java.io.IOException

getCommitList

public java.lang.String[] getCommitList()

getDigest

public java.lang.String getDigest()

findPath

public java.lang.String findPath(java.lang.String sha1)

openFile

public java.io.InputStream openFile(java.lang.String sha1)
                             throws java.io.IOException
Throws:
java.io.IOException

close

public void close()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object