br.com.objectos.git
Class Entry

java.lang.Object
  extended by br.com.objectos.git.Entry
All Implemented Interfaces:
br.com.objectos.lang.ToStringObject, Comparable<br.com.objectos.git.AbstractEntry>

public final class Entry
extends Object


Method Summary
 int compareTo(br.com.objectos.git.AbstractEntry o)
           
 void createChild(Directory parent)
           
 void formatToString(StringBuilder sb, int depth)
           
 EntryMode getMode()
           
 String getName()
           
 ObjectId getObjectId()
           
 boolean isBlob()
           
 boolean isTree()
           
 String print()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createChild

public final void createChild(Directory parent)
                       throws GitStubException,
                              IOException
Throws:
GitStubException
IOException

formatToString

public final void formatToString(StringBuilder sb,
                                 int depth)

getMode

public final EntryMode getMode()

getName

public final String getName()

getObjectId

public final ObjectId getObjectId()

isBlob

public final boolean isBlob()

isTree

public final boolean isTree()

print

public final String print()

compareTo

public final int compareTo(br.com.objectos.git.AbstractEntry o)
Specified by:
compareTo in interface Comparable<br.com.objectos.git.AbstractEntry>

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2020–2021 Objectos Software LTDA. All rights reserved.